MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / Stream_OpenPath

Function Stream_OpenPath

src/Stream.c:129–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129cc_result Stream_OpenPath(struct Stream* s, const cc_filepath* path) {
130 cc_file file;
131 cc_result res = File_Open(&file, path);
132
133 Stream_FromFile(s, file);
134 return res;
135}
136
137cc_result Stream_CreatePath(struct Stream* s, const cc_filepath* path) {
138 cc_file file;

Callers 10

ZipFile_InspectEntriesFunction · 0.85
Stream_OpenFileFunction · 0.85
GetMachineIDFunction · 0.85
OpenCachedDataFunction · 0.85
ExtractFromFileFunction · 0.85
Sounds_ExtractZipFunction · 0.85
Music_RunLoopFunction · 0.85
Map_LoadFromFunction · 0.85
EntryList_LoadFunction · 0.85
ExtractTexturePackFunction · 0.85

Calls 2

Stream_FromFileFunction · 0.85
File_OpenFunction · 0.70

Tested by

no test coverage detected