authorgravatar for 57466120+gigamaax@users.noreply.github.commax <57466120+gigamaax@users.noreply.github.com> 2025-01-16 12:11:42-08:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2025-01-16 20:11:42+00:00
log961fc0e140ddb595554f40c4fda0d75d9ffa43d6
tree4586e153e7922a155d0423a7fdad7708ea062e54
parentd4fe4698d9ff865ed1dc7e0163f2d5fcbe2b45a6
signaturebadge-check Signed by PGP key B5690EEEBB952194

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.

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/fs/Dir.zig+1-1
......@@ -2029,7 +2029,7 @@ pub const DeleteTreeError = error{
20292029 NetworkNotFound,
20302030} || posix.UnexpectedError;
20312031
2032/// Whether `full_path` describes a symlink, file, or directory, this function
2032/// Whether `sub_path` describes a symlink, file, or directory, this function
20332033/// removes it. If it cannot be removed because it is a non-empty directory,
20342034/// this function recursively removes its entries and then tries again.
20352035/// This operation is not atomic on most file systems.