diff options
Diffstat (limited to 'js/src/app/path.ts')
| -rw-r--r-- | js/src/app/path.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/js/src/app/path.ts b/js/src/app/path.ts new file mode 100644 index 000000000..972d18c41 --- /dev/null +++ b/js/src/app/path.ts @@ -0,0 +1,11 @@ +import path from "path"; + +export namespace AppPath { + export function data(input: string) { + return path.join(input, ".opencode"); + } + + export function storage(input: string) { + return path.join(data(input), "storage"); + } +} |
