Home
last modified time | relevance | path

Searched refs:getRelativePathFromDirectory (Results 1 – 14 of 14) sorted by relevance

/third_party/typescript/src/testRunner/unittests/
Dpaths.ts271 assert.strictEqual(ts.getRelativePathFromDirectory("/", "/", /*ignoreCase*/ false), "");
272 assert.strictEqual(ts.getRelativePathFromDirectory("/a", "/a", /*ignoreCase*/ false), "");
273 assert.strictEqual(ts.getRelativePathFromDirectory("/a/", "/a", /*ignoreCase*/ false), "");
274 assert.strictEqual(ts.getRelativePathFromDirectory("/a", "/", /*ignoreCase*/ false), "..");
275 … assert.strictEqual(ts.getRelativePathFromDirectory("/a", "/b", /*ignoreCase*/ false), "../b");
276 …assert.strictEqual(ts.getRelativePathFromDirectory("/a/b", "/b", /*ignoreCase*/ false), "../../b");
277 …assert.strictEqual(ts.getRelativePathFromDirectory("/a/b/c", "/b", /*ignoreCase*/ false), "../../.…
278 …assert.strictEqual(ts.getRelativePathFromDirectory("/a/b/c", "/b/c", /*ignoreCase*/ false), "../..…
279 … assert.strictEqual(ts.getRelativePathFromDirectory("/a/b/c", "/a/b", /*ignoreCase*/ false), "..");
280 … assert.strictEqual(ts.getRelativePathFromDirectory("c:", "d:", /*ignoreCase*/ false), "d:/");
[all …]
/third_party/typescript/src/compiler/
Dpath.ts802 …export function getRelativePathFromDirectory(from: string, to: string, ignoreCase: boolean): strin… function
806 …export function getRelativePathFromDirectory(fromDirectory: string, to: string, getCanonicalFileNa…
807 …export function getRelativePathFromDirectory(fromDirectory: string, to: string, getCanonicalFileNa…
822 …return ensurePathIsNonModuleName(getRelativePathFromDirectory(getDirectoryPath(from), to, getCanon…
DmoduleSpecifiers.ts183 …removeExtensionAndIndexPostFix(ensurePathIsNonModuleName(getRelativePathFromDirectory(sourceDirect…
314 … const relative = getRelativePathFromDirectory(realPathDirectory, target, getCanonicalFileName);
465 …ormalizedSourcePath !== undefined ? ensurePathIsNonModuleName(getRelativePathFromDirectory(normali…
Demitter.ts68 …resolvePath(options.outDir, getRelativePathFromDirectory(options.rootDir, configFileExtensionLess,…
137getRelativePathFromDirectory(getCommonSourceDirectory ? getCommonSourceDirectory() : getCommonSour…
376 …return ensurePathIsNonModuleName(getRelativePathFromDirectory(buildInfoDirectory!, path, host.getC…
746 sourceFile.fileName = getRelativePathFromDirectory(
Dbuilder.ts777 …return ensurePathIsNonModuleName(getRelativePathFromDirectory(buildInfoDirectory, path, getCanonic…
DmoduleNameResolver.ts1251 …const moduleName = getRelativePathFromDirectory(candidate, packageFile || indexPath, /*ignoreCase*…
/third_party/typescript/src/services/
DgetEditsForFileRename.ts115 … return getRelativePathFromDirectory(configDir, path, /*ignoreCase*/ !useCaseSensitiveFileNames);
144 …bsolute === undefined ? undefined : ensurePathIsNonModuleName(getRelativePathFromDirectory(newImpo…
/third_party/typescript/src/harness/
DvpathUtil.ts21 export import relative = ts.getRelativePathFromDirectory;
/third_party/typescript/lib/
Dtsc.js3665 function getRelativePathFromDirectory(fromDirectory, to, getCanonicalFileNameOrIgnoreCase) { function
3672 ts.getRelativePathFromDirectory = getRelativePathFromDirectory;
3680 …return ensurePathIsNonModuleName(getRelativePathFromDirectory(getDirectoryPath(from), to, getCanon…
32748 … var moduleName = ts.getRelativePathFromDirectory(candidate, packageFile || indexPath, false);
82238 …ts.resolvePath(options.outDir, ts.getRelativePathFromDirectory(options.rootDir, configFileExtensio…
82295 …ts.resolvePath(outputDir, ts.getRelativePathFromDirectory(getCommonSourceDirectory ? getCommonSour…
82493 …return ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(buildInfoDirectory, path, host…
82764 …sourceFile.fileName = ts.getRelativePathFromDirectory(host.getCurrentDirectory(), ts.getNormalized…
90901 …return ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(buildInfoDirectory, path, getC…
91995 …emoveExtensionAndIndexPostFix(ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(sourceD…
[all …]
DtypingsInstaller.js6161 function getRelativePathFromDirectory(fromDirectory, to, getCanonicalFileNameOrIgnoreCase) { function
6168 ts.getRelativePathFromDirectory = getRelativePathFromDirectory;
6176 …return ensurePathIsNonModuleName(getRelativePathFromDirectory(getDirectoryPath(from), to, getCanon…
40146 …var moduleName = ts.getRelativePathFromDirectory(candidate, packageFile || indexPath, /*ignoreCase…
100749 …ts.resolvePath(options.outDir, ts.getRelativePathFromDirectory(options.rootDir, configFileExtensio…
100814 …ts.resolvePath(outputDir, ts.getRelativePathFromDirectory(getCommonSourceDirectory ? getCommonSour…
101025 …return ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(buildInfoDirectory, path, host…
101328 …sourceFile.fileName = ts.getRelativePathFromDirectory(host.getCurrentDirectory(), ts.getNormalized…
110524 …return ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(buildInfoDirectory, path, getC…
111806 …emoveExtensionAndIndexPostFix(ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(sourceD…
[all …]
DtypescriptServices.js6366 function getRelativePathFromDirectory(fromDirectory, to, getCanonicalFileNameOrIgnoreCase) { function
6373 ts.getRelativePathFromDirectory = getRelativePathFromDirectory;
6381 …return ensurePathIsNonModuleName(getRelativePathFromDirectory(getDirectoryPath(from), to, getCanon…
40351 …var moduleName = ts.getRelativePathFromDirectory(candidate, packageFile || indexPath, /*ignoreCase…
100954 …ts.resolvePath(options.outDir, ts.getRelativePathFromDirectory(options.rootDir, configFileExtensio…
101019 …ts.resolvePath(outputDir, ts.getRelativePathFromDirectory(getCommonSourceDirectory ? getCommonSour…
101230 …return ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(buildInfoDirectory, path, host…
101533 …sourceFile.fileName = ts.getRelativePathFromDirectory(host.getCurrentDirectory(), ts.getNormalized…
110729 …return ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(buildInfoDirectory, path, getC…
112011 …emoveExtensionAndIndexPostFix(ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(sourceD…
[all …]
Dtsserverlibrary.js6366 function getRelativePathFromDirectory(fromDirectory, to, getCanonicalFileNameOrIgnoreCase) { function
6373 ts.getRelativePathFromDirectory = getRelativePathFromDirectory;
6381 …return ensurePathIsNonModuleName(getRelativePathFromDirectory(getDirectoryPath(from), to, getCanon…
40351 …var moduleName = ts.getRelativePathFromDirectory(candidate, packageFile || indexPath, /*ignoreCase…
100954 …ts.resolvePath(options.outDir, ts.getRelativePathFromDirectory(options.rootDir, configFileExtensio…
101019 …ts.resolvePath(outputDir, ts.getRelativePathFromDirectory(getCommonSourceDirectory ? getCommonSour…
101230 …return ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(buildInfoDirectory, path, host…
101533 …sourceFile.fileName = ts.getRelativePathFromDirectory(host.getCurrentDirectory(), ts.getNormalized…
110729 …return ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(buildInfoDirectory, path, getC…
112011 …emoveExtensionAndIndexPostFix(ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(sourceD…
[all …]
Dtsserver.js6172 function getRelativePathFromDirectory(fromDirectory, to, getCanonicalFileNameOrIgnoreCase) { function
6179 ts.getRelativePathFromDirectory = getRelativePathFromDirectory;
6187 …return ensurePathIsNonModuleName(getRelativePathFromDirectory(getDirectoryPath(from), to, getCanon…
40157 …var moduleName = ts.getRelativePathFromDirectory(candidate, packageFile || indexPath, /*ignoreCase…
100760 …ts.resolvePath(options.outDir, ts.getRelativePathFromDirectory(options.rootDir, configFileExtensio…
100825 …ts.resolvePath(outputDir, ts.getRelativePathFromDirectory(getCommonSourceDirectory ? getCommonSour…
101036 …return ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(buildInfoDirectory, path, host…
101339 …sourceFile.fileName = ts.getRelativePathFromDirectory(host.getCurrentDirectory(), ts.getNormalized…
110535 …return ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(buildInfoDirectory, path, getC…
111817 …emoveExtensionAndIndexPostFix(ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(sourceD…
[all …]
Dtypescript.js6366 function getRelativePathFromDirectory(fromDirectory, to, getCanonicalFileNameOrIgnoreCase) { function
6373 ts.getRelativePathFromDirectory = getRelativePathFromDirectory;
6381 …return ensurePathIsNonModuleName(getRelativePathFromDirectory(getDirectoryPath(from), to, getCanon…
40351 …var moduleName = ts.getRelativePathFromDirectory(candidate, packageFile || indexPath, /*ignoreCase…
100954 …ts.resolvePath(options.outDir, ts.getRelativePathFromDirectory(options.rootDir, configFileExtensio…
101019 …ts.resolvePath(outputDir, ts.getRelativePathFromDirectory(getCommonSourceDirectory ? getCommonSour…
101230 …return ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(buildInfoDirectory, path, host…
101533 …sourceFile.fileName = ts.getRelativePathFromDirectory(host.getCurrentDirectory(), ts.getNormalized…
110729 …return ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(buildInfoDirectory, path, getC…
112011 …emoveExtensionAndIndexPostFix(ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(sourceD…
[all …]