{"draft":null,"from":16,"to":17,"files":[{"path":"client/src/modes.ts","added":2,"removed":2,"diff":"--- a/client/src/modes.ts\n+++ b/client/src/modes.ts\n@@ -23,8 +23,8 @@\n \twriteFileSync,\n } from \"node:fs\";\n import { dirname, join } from \"node:path\";\n-import { AVCS_DIR } from \"./config.ts\";\n import { readText, writeFileAtomic } from \"./folder.ts\";\n+import { stateDir } from \"./state-dir.ts\";\n \n /** A change to a file's mode: only the fields given change. */\n export interface Mode {\n@@ -47,7 +47,7 @@\n const MODES_FILE = \"modes.json\";\n \n function modesPath(root: string): string {\n-\treturn join(root, AVCS_DIR, MODES_FILE);\n+\treturn join(stateDir(root), MODES_FILE);\n }\n \n /** The modes the server has, as far as the client knows: only files that are executable or links. */"}],"unmatched":[]}