Docs.rs
fcoreutils-0.15.0
fcoreutils 0.15.0
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
aibrushcomputer
Dependencies
anyhow ^1
normal
base64-simd ^0.8
normal
blake2b_simd ^1
normal
clap ^4
normal
digest ^0.10
normal
itoa ^1
normal
libc ^0.2
normal
md-5 ^0.10
normal
memchr ^2
normal
memmap2 ^0.9
normal
mimalloc ^0.1
normal
rayon ^1
normal
regex ^1
normal
sha1 ^0.10
normal
sha2 ^0.10
normal
thiserror ^2
normal
criterion ^0.8
dev
proptest ^1
dev
tempfile ^3
dev
md-5 ^0.10
normal
sha1 ^0.10
normal
sha2 ^0.10
normal
ring ^0.17
normal
openssl ^0.10
normal
Versions
56.45%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module chmod
coreutils_
rs
0.15.0
Module chmod
Module Items
Structs
Functions
In crate coreutils_
rs
coreutils_rs
Module
chmod
Copy item path
Source
Structs
§
Chmod
Config
Configuration for chmod operations.
Functions
§
chmod_
file
Apply a mode to a file and return whether a change was made.
chmod_
recursive
Recursively apply a mode string to a directory tree.
format_
symbolic_
for_
warning
Format the symbolic mode string for umask-blocked warning messages. Produces output like
rwxr-xr-x
.
get_
umask
Get the current umask value.
parse_
mode
Parse a mode string (octal or symbolic) and return the new mode.
parse_
mode_
check_
umask
Parse a mode and also compute whether the umask blocked any requested bits. Returns
(new_mode, umask_blocked)
where
umask_blocked
is true if the umask prevented some requested bits from being changed.
parse_
mode_
no_
umask
Like
parse_mode
but ignores the process umask.