12 if (
s !=
kOk)
return s;
23 return fs.remove(path);
28 if (
s !=
kOk)
return s;
29 return fs.rmdir(path);
44 auto len = std::strlen(path) + 1;
49 while (*
p ==
'/') ++
p;
50 while (*
p != 0 && *
p !=
'/') ++
p;
70 auto len = std::strlen(path) + 1;
75 while (*
p ==
'/') ++
p;
76 while (*
p != 0 && *
p !=
'/') ++
p;
77 if (*
p == 0)
return kOk;
Buffered typed writer over OutputStream.
Status MkDirRecursively(roo_io::Mount &fs, const char *path)
roo::basic_string_view< CharT, Traits > basic_string_view
Status DeleteRecursively(roo_io::Mount &fs, const char *path)
OutputStreamWriter OpenDataFileForWrite(roo_io::Mount &fs, const char *path, roo_io::FileUpdatePolicy update_policy)
MultipassInputStreamReader OpenDataFile(roo_io::Mount &fs, const char *path)
Status MkParentDirRecursively(roo_io::Mount &fs, const char *path)