MCPcopy Create free account
hub / github.com/massCodeIO/massCode / getInfo

Function getInfo

src/main/http/import/opencollection.ts:96–98  ·  view source on GitHub ↗
(raw: unknown)

Source from the content-addressed store, hash-verified

94}
95
96function getInfo(raw: unknown): UnknownRecord {
97 return isRecord(raw) && isRecord(raw.info) ? raw.info : {}
98}
99
100function isOpenCollectionRoot(file: HttpImportFile, raw: unknown): boolean {
101 return (

Callers 7

isFolderFileFunction · 0.70
isRequestFileFunction · 0.70
parseEnvironmentFunction · 0.70
parseRequestFunction · 0.70
parseBundledItemsFunction · 0.70
parseBundledCollectionFunction · 0.70
parseOpenCollectionFilesFunction · 0.70

Calls 1

isRecordFunction · 0.70

Tested by

no test coverage detected