MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / ElectronPathProvider

Class ElectronPathProvider

apps/desktop/main/electron-path-provider.ts:20–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18} from './paths'
19
20export class ElectronPathProvider implements PathProvider {
21 getSystemDir(): string {
22 return getSystemDataDir()
23 }
24 getUserDataDir(): string {
25 return getUserDataDir()
26 }
27 getDatabaseDir(): string {
28 return getDatabaseDir()
29 }
30 getVectorDir(): string {
31 return getVectorDir()
32 }
33 getAiDataDir(): string {
34 return getAiDataDir()
35 }
36 getSettingsDir(): string {
37 return getSettingsDir()
38 }
39 getCacheDir(): string {
40 return getCacheDir()
41 }
42 getTempDir(): string {
43 return getTempDir()
44 }
45 getLogsDir(): string {
46 return getLogsDir()
47 }
48 getDownloadsDir(): string {
49 return getDownloadsDir()
50 }
51}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected