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

Function Stream_CreateFile

src/Stream.c:122–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122cc_result Stream_CreateFile(struct Stream* s, const cc_string* path) {
123 cc_filepath str;
124 Platform_EncodePath(&str, path);
125
126 return Stream_CreatePath(s, &str);
127}
128
129cc_result Stream_OpenPath(struct Stream* s, const cc_filepath* path) {
130 cc_file file;

Callers

nothing calls this directly

Calls 2

Stream_CreatePathFunction · 0.85
Platform_EncodePathFunction · 0.70

Tested by

no test coverage detected