fn deleteFile(self: Dir, sub_path: []const u8) DeleteFileError!void

Delete a file name and possibly the file it refers to, based on an open directory handle. Asserts that the path parameter has no null bytes.

Parameters

self: Dir,
sub_path: []const u8,