mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-03 06:27:45 +00:00
Document some modules
This commit is contained in:
parent
f3a47428f8
commit
eb6ab9f883
5 changed files with 10 additions and 0 deletions
|
@ -6,6 +6,8 @@
|
|||
// For the full copyright and license information, please view the LICENSE
|
||||
// file that was distributed with this source code.
|
||||
|
||||
//! Set of functions to manage files and symlinks
|
||||
|
||||
#[cfg(unix)]
|
||||
use libc::{
|
||||
mode_t, S_IFBLK, S_IFCHR, S_IFDIR, S_IFIFO, S_IFLNK, S_IFMT, S_IFREG, S_IFSOCK, S_IRGRP,
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
// For the full copyright and license information, please view the LICENSE file
|
||||
// that was distributed with this source code.
|
||||
|
||||
//! Set of functions to manage file systems
|
||||
|
||||
// spell-checker:ignore (arch) bitrig ; (fs) cifs smbfs
|
||||
|
||||
extern crate time;
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
// For the full copyright and license information, please view the LICENSE
|
||||
// file that was distributed with this source code.
|
||||
|
||||
//! Set of functions to parse modes
|
||||
|
||||
// spell-checker:ignore (vars) fperm srwx
|
||||
|
||||
use libc::{mode_t, S_IRGRP, S_IROTH, S_IRUSR, S_IWGRP, S_IWOTH, S_IWUSR};
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// For the full copyright and license information, please view the LICENSE
|
||||
// file that was distributed with this source code.
|
||||
|
||||
//! Common functions to manage permissions
|
||||
|
||||
use crate::error::UResult;
|
||||
pub use crate::features::entries;
|
||||
use crate::fs::resolve_relative_path;
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
// spell-checker:ignore (vars) cvar exitstatus
|
||||
// spell-checker:ignore (sys/unix) WIFSIGNALED
|
||||
|
||||
//! Set of functions to manage IDs
|
||||
|
||||
use libc::{gid_t, pid_t, uid_t};
|
||||
use std::fmt;
|
||||
use std::io;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue