mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-09 07:08:59 +00:00
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.
This commit is contained in:
parent
d4fe4698d9
commit
961fc0e140
1 changed files with 1 additions and 1 deletions
|
|
@ -2029,7 +2029,7 @@ pub const DeleteTreeError = error{
|
||||||
NetworkNotFound,
|
NetworkNotFound,
|
||||||
} || posix.UnexpectedError;
|
} || 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,
|
/// 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 function recursively removes its entries and then tries again.
|
||||||
/// This operation is not atomic on most file systems.
|
/// This operation is not atomic on most file systems.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue