pub fn deleteTreeMinStackSize(dir: Dir, io: Io, sub_path: []const u8) DeleteTreeError!void 1604
1605
1606pub fn deleteTreeMinStackSize(dir: Dir, io: Io, sub_path: []const u8) DeleteTreeError!void {
return dir.deleteTreeMinStackSizeWithKindHint(io, sub_path, .file);
}
Like
deleteTree, but only keeps oneIteratoractive at a time to minimize the function's stack size. This is slower thandeleteTreebut uses less stack space. On Windows,sub_pathshould be encoded as WTF-8. On WASI,sub_pathshould be encoded as valid UTF-8. On other platforms,sub_pathis an opaque sequence of bytes with no particular encoding.