// Paths inside a checkout, without VS Code: shared by the watcher and tests. /** * Whether a path relative to a repository root lies inside a `.oxy` store at * any depth: this repository's own, or a subrepo's, which oxy writes to * while it reports status (so a watcher that refreshed on those writes * would refresh forever). */ export function isInStore(rel: string): boolean { return rel.split(/[\\/]/).includes(".oxy"); }