Skip to content

Commit 125f0a1

Browse files
Removed unused declarations in 'loggedIO.ts'.
1 parent 4a07ee7 commit 125f0a1

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

src/harness/loggedIO.ts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -305,25 +305,6 @@ namespace Playback {
305305
}
306306
}
307307

308-
const pathEquivCache: any = {};
309-
function pathsAreEquivalent(left: string, right: string, wrapper: { resolvePath(s: string): string }) {
310-
const key = left + "-~~-" + right;
311-
function areSame(a: string, b: string) {
312-
return ts.normalizeSlashes(a).toLowerCase() === ts.normalizeSlashes(b).toLowerCase();
313-
}
314-
function check() {
315-
if (Harness.Path.getFileName(left).toLowerCase() === Harness.Path.getFileName(right).toLowerCase()) {
316-
return areSame(left, right) || areSame(wrapper.resolvePath(left), right) || areSame(left, wrapper.resolvePath(right)) || areSame(wrapper.resolvePath(left), wrapper.resolvePath(right));
317-
}
318-
}
319-
if (pathEquivCache.hasOwnProperty(key)) {
320-
return pathEquivCache[key];
321-
}
322-
else {
323-
return pathEquivCache[key] = check();
324-
}
325-
}
326-
327308
function noOpReplay(name: string) {
328309
// console.log("Swallowed write operation during replay: " + name);
329310
}

0 commit comments

Comments
 (0)