diff options
| author | Dax Raad <[email protected]> | 2025-05-30 20:47:56 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-05-30 20:48:36 -0400 |
| commit | f3da73553c45f17e04b1e77cb13eb0fca714d1bd (patch) | |
| tree | a24317a19e1ab2a89da50db669dc6894f15d00d1 /js/src/global | |
| parent | 9a26b3058ffc1023e5c7e54b6d571c903d15888e (diff) | |
| download | opencode-f3da73553c45f17e04b1e77cb13eb0fca714d1bd.tar.gz opencode-f3da73553c45f17e04b1e77cb13eb0fca714d1bd.zip | |
sync
Diffstat (limited to 'js/src/global')
| -rw-r--r-- | js/src/global/index.ts | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/js/src/global/index.ts b/js/src/global/index.ts deleted file mode 100644 index 1e097f38c..000000000 --- a/js/src/global/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -import envpaths from "env-paths"; -import fs from "fs/promises"; -const paths = envpaths("opencode", { - suffix: "", -}); - -await Promise.all([ - fs.mkdir(paths.config, { recursive: true }), - fs.mkdir(paths.cache, { recursive: true }), -]); - -export namespace Global { - export function config() { - return paths.config; - } - - export function cache() { - return paths.cache; - } -} |
