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

Function Stream_CreatePath

src/Stream.c:137–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137cc_result Stream_CreatePath(struct Stream* s, const cc_filepath* path) {
138 cc_file file;
139 cc_result res = File_Create(&file, path);
140
141 Stream_FromFile(s, file);
142 return res;
143}
144
145cc_result Stream_AppendPath(struct Stream* s, const cc_filepath* path) {
146 cc_file file;

Callers 6

ZipFile_CreateFunction · 0.85
Stream_CreateFileFunction · 0.85
Stream_WriteAllToFunction · 0.85
DoSaveMapFunction · 0.85
Game_TakeScreenshotFunction · 0.85
EntryList_SaveFunction · 0.85

Calls 2

Stream_FromFileFunction · 0.85
File_CreateFunction · 0.70

Tested by

no test coverage detected