Files
obsidian-livesync/test/e2e-obsidian/runner/pathEntries.ts
T

4 lines
182 B
TypeScript

export function hasExactCaseOnlyRename(entries: readonly string[], oldName: string, newName: string): boolean {
return entries.includes(newName) && !entries.includes(oldName);
}