MCPcopy Create free account
hub / github.com/Scobalula/Greyhound / LoadIndexFiles

Function LoadIndexFiles

src/External/CascLib/src/CascIndexFiles.cpp:803–818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

801}
802
803DWORD LoadIndexFiles(TCascStorage * hs)
804{
805 switch(hs->BuildFileType)
806 {
807 case CascBuildDb: // Load the index files from the disk
808 case CascBuildInfo:
809 return LoadLocalIndexFiles(hs);
810
811 case CascVersions: // Load the index files from the cache / internet
812 return LoadArchiveIndexFiles(hs);
813
814 default:
815 assert(false);
816 return ERROR_NOT_SUPPORTED;
817 }
818}
819
820void FreeIndexFiles(TCascStorage * hs)
821{

Callers 1

LoadCascStorageFunction · 0.85

Calls 2

LoadLocalIndexFilesFunction · 0.85
LoadArchiveIndexFilesFunction · 0.85

Tested by

no test coverage detected