MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / fileExists

Method fileExists

common/src/system_storage.ts:39–42  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

37 }
38
39 public fileExists(name: string) {
40 const targetPath = path.normalize(path.join(StorageSubsystem.DATA_PATH, name));
41 return fs.existsSync(targetPath);
42 }
43
44 // Stored in local file based on class definition and identifier
45 public store(category: string, uuid: string, object: any) {

Callers 2

initVersionManagerFunction · 0.80
getFrontendLayoutConfigFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected