MCPcopy Create free account
hub / github.com/6174/comflowyspace / getAppDataDir

Function getAppDataDir

apps/node/src/modules/utils/get-appdata-dir.ts:7–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5import logger from './logger';
6
7export function getAppDataDir() {
8 const appDir = path.join(os.homedir(), 'comflowy');
9 fsExtra.ensureDirSync(appDir)
10 return appDir;
11}
12
13export function getAppTmpDir() {
14 const tmpDir = path.join(getAppDataDir(), 'tmp');

Callers 14

constructorMethod · 0.90
jsondb.test.tsFile · 0.90
serveFunction · 0.90
run-command.tsFile · 0.90
env.tsFile · 0.90
logger.tsFile · 0.90
testDownloadFunction · 0.90
shell-example.tsFile · 0.90
bootstrap.tsFile · 0.90
ModelManagerClass · 0.90
getAppTmpDirFunction · 0.70

Calls

no outgoing calls

Tested by 1

testDownloadFunction · 0.72