mirror of
https://github.com/uutils/coreutils
synced 2024-11-17 02:08:09 +00:00
docs/spell ~ spell-check and addition of exceptions
This commit is contained in:
parent
88e5631fa4
commit
d52fb5c484
10 changed files with 14 additions and 11 deletions
|
@ -1,7 +1,5 @@
|
|||
// features ~ feature-gated modules (core/bundler file)
|
||||
|
||||
// spell-checker:ignore (uucore/uutils) coreopts libc musl utmpx uucore uutils winapi
|
||||
|
||||
#[cfg(feature = "encoding")]
|
||||
pub mod encoding;
|
||||
#[cfg(feature = "fs")]
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
//
|
||||
// For the full copyright and license information, please view the LICENSE
|
||||
// file that was distributed with this source code.
|
||||
//
|
||||
|
||||
// spell-checker:ignore (strings) ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
||||
|
||||
extern crate data_encoding;
|
||||
extern crate failure;
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
// For the full copyright and license information, please view the LICENSE
|
||||
// file that was distributed with this source code.
|
||||
|
||||
// spell-checker:ignore (vars) Passwd cstr fnam gecos ngroups
|
||||
|
||||
//! Get password/group file entry
|
||||
//!
|
||||
//! # Examples:
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
//
|
||||
// For the full copyright and license information, please view the LICENSE
|
||||
// file that was distributed with this source code.
|
||||
//
|
||||
|
||||
// spell-checker:ignore (vars) fperm srwx
|
||||
|
||||
pub fn parse_numeric(fperm: u32, mut mode: &str) -> Result<u32, String> {
|
||||
let (op, pos) = parse_op(mode, Some('='))?;
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
// For the full copyright and license information, please view the LICENSE
|
||||
// file that was distributed with this source code.
|
||||
|
||||
// spell-checker:ignore (vars) NANOS numstr
|
||||
|
||||
use std::time::Duration;
|
||||
|
||||
pub fn from_str(string: &str) -> Result<Duration, String> {
|
||||
|
|
|
@ -5,7 +5,9 @@
|
|||
//
|
||||
// For the full copyright and license information, please view the LICENSE file
|
||||
// that was distributed with this source code.
|
||||
//
|
||||
|
||||
// spell-checker:ignore (vars) cvar exitstatus
|
||||
// spell-checker:ignore (sys/unix) WIFSIGNALED
|
||||
|
||||
use libc::{c_int, gid_t, pid_t, uid_t};
|
||||
use std::fmt;
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
// For the full copyright and license information, please view the LICENSE file
|
||||
// that was distributed with this source code.
|
||||
|
||||
// spell-checker:ignore (vars/api) fcntl setrlimit setitimer
|
||||
// spell-checker:ignore (vars/signals) ABRT ALRM CHLD SEGV SIGABRT SIGALRM SIGBUS SIGCHLD SIGCONT SIGEMT SIGFPE SIGHUP SIGILL SIGINFO SIGINT SIGIO SIGIOT SIGKILL SIGPIPE SIGPROF SIGQUIT SIGSEGV SIGSTOP SIGSYS SIGTERM SIGTRAP SIGTSTP SIGTTIN SIGTTOU SIGURG SIGUSR SIGVTALRM SIGWINCH SIGXCPU SIGXFSZ STKFLT TSTP TTIN TTOU VTALRM XCPU XFSZ
|
||||
|
||||
pub static DEFAULT_SIGNAL: usize = 15;
|
||||
|
||||
pub struct Signal<'a> {
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// mods ~ cross-platforms modules (core/bundler file)
|
||||
|
||||
// spell-checker:ignore (uucore/uutils) coreopts libc musl utmpx uucore uutils winapi
|
||||
|
||||
pub mod coreopts;
|
||||
pub mod panic;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// spell-checker:ignore () SIGPIPE maint uutils
|
||||
|
||||
use std::panic;
|
||||
|
||||
//## SIGPIPE handling background/discussions ...
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
|
||||
extern crate proc_macro;
|
||||
|
||||
// spell-checker:ignore () SIGPIPE maint uucore uumain uutils
|
||||
|
||||
//## rust proc-macro background info
|
||||
//* ref: <https://dev.to/naufraghi/procedural-macro-in-rust-101-k3f> @@ <http://archive.is/Vbr5e>
|
||||
//* ref: [path construction from LitStr](https://oschwald.github.io/maxminddb-rust/syn/struct.LitStr.html) @@ <http://archive.is/8YDua>
|
||||
|
|
Loading…
Reference in a new issue