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

Function Stream_OpenFile

src/Stream.c:115–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115cc_result Stream_OpenFile(struct Stream* s, const cc_string* path) {
116 cc_filepath str;
117 Platform_EncodePath(&str, path);
118
119 return Stream_OpenPath(s, &str);
120}
121
122cc_result Stream_CreateFile(struct Stream* s, const cc_string* path) {
123 cc_filepath str;

Callers

nothing calls this directly

Calls 2

Stream_OpenPathFunction · 0.85
Platform_EncodePathFunction · 0.70

Tested by

no test coverage detected