commit 961fc0e140ddb595554f40c4fda0d75d9ffa43d6 (tree)
parent d4fe4698d9ff865ed1dc7e0163f2d5fcbe2b45a6
Author: max <57466120+gigamaax@users.noreply.github.com>
Date: Thu, 16 Jan 2025 12:11:42 -0800
std.fs.Dir: update deleteTree doc comment to match function signature (#22509)
the actual parameter name is `sub_path` which is also referenced in other
comments describing the fuction.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/fs/Dir.zig b/lib/std/fs/Dir.zig
@@ -2029,7 +2029,7 @@ pub const DeleteTreeError = error{
NetworkNotFound,
} || posix.UnexpectedError;
-/// Whether `full_path` describes a symlink, file, or directory, this function
+/// Whether `sub_path` describes a symlink, file, or directory, this function
/// removes it. If it cannot be removed because it is a non-empty directory,
/// this function recursively removes its entries and then tries again.
/// This operation is not atomic on most file systems.