Searched refs:sourcePath (Results 1 – 3 of 3) sorted by relevance
/tools/treble/hacksaw/workspace/ |
D | copier.go | 129 func (f FileCopier) GetDestPath(codebaseDir, sourcePath, workspaceDir string) (string, error) { 130 if !strings.HasPrefix(sourcePath+"/", codebaseDir+"/") { 131 return "", fmt.Errorf("%s is not contained in %s", sourcePath, codebaseDir) 133 relPath, err := filepath.Rel(codebaseDir, sourcePath) 143 func (f FileCopier) CopyNode(sourceInfo os.FileInfo, codebaseDir, sourcePath, workspaceDir string) … 144 destPath, err := f.GetDestPath(codebaseDir, sourcePath, workspaceDir) 150 return f.CopySymlink(sourcePath, destPath) 154 return f.CopyFile(sourceInfo, sourcePath, destPath) 158 func (f FileCopier) CopySymlink(sourcePath string, destPath string) error { 165 target, err := os.Readlink(sourcePath) [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Baseline.kt | 185 for (sourcePath in options.sourcePath) { in <lambda>() constant 186 if (path.startsWith(sourcePath.path)) { in <lambda>() 187 return path.substring(sourcePath.path.length).replace('\\', '/').removePrefix("/") in <lambda>()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/ |
D | PsiTypePrinterTest.kt | 789 val sourcePath = listOf(File(dir, "src")) in <lambda>() constant 817 sourcePath = sourcePath, classpath = classPath in <lambda>()
|