mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-03 06:27:45 +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)
|
// features ~ feature-gated modules (core/bundler file)
|
||||||
|
|
||||||
// spell-checker:ignore (uucore/uutils) coreopts libc musl utmpx uucore uutils winapi
|
|
||||||
|
|
||||||
#[cfg(feature = "encoding")]
|
#[cfg(feature = "encoding")]
|
||||||
pub mod encoding;
|
pub mod encoding;
|
||||||
#[cfg(feature = "fs")]
|
#[cfg(feature = "fs")]
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
//
|
//
|
||||||
// For the full copyright and license information, please view the LICENSE
|
// For the full copyright and license information, please view the LICENSE
|
||||||
// file that was distributed with this source code.
|
// file that was distributed with this source code.
|
||||||
//
|
|
||||||
|
// spell-checker:ignore (strings) ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
||||||
|
|
||||||
extern crate data_encoding;
|
extern crate data_encoding;
|
||||||
extern crate failure;
|
extern crate failure;
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
// For the full copyright and license information, please view the LICENSE
|
// For the full copyright and license information, please view the LICENSE
|
||||||
// file that was distributed with this source code.
|
// file that was distributed with this source code.
|
||||||
|
|
||||||
|
// spell-checker:ignore (vars) Passwd cstr fnam gecos ngroups
|
||||||
|
|
||||||
//! Get password/group file entry
|
//! Get password/group file entry
|
||||||
//!
|
//!
|
||||||
//! # Examples:
|
//! # Examples:
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
//
|
//
|
||||||
// For the full copyright and license information, please view the LICENSE
|
// For the full copyright and license information, please view the LICENSE
|
||||||
// file that was distributed with this source code.
|
// 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> {
|
pub fn parse_numeric(fperm: u32, mut mode: &str) -> Result<u32, String> {
|
||||||
let (op, pos) = parse_op(mode, Some('='))?;
|
let (op, pos) = parse_op(mode, Some('='))?;
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
// For the full copyright and license information, please view the LICENSE
|
// For the full copyright and license information, please view the LICENSE
|
||||||
// file that was distributed with this source code.
|
// file that was distributed with this source code.
|
||||||
|
|
||||||
|
// spell-checker:ignore (vars) NANOS numstr
|
||||||
|
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
|
|
||||||
pub fn from_str(string: &str) -> Result<Duration, String> {
|
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
|
// For the full copyright and license information, please view the LICENSE file
|
||||||
// that was distributed with this source code.
|
// 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 libc::{c_int, gid_t, pid_t, uid_t};
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
// For the full copyright and license information, please view the LICENSE file
|
// For the full copyright and license information, please view the LICENSE file
|
||||||
// that was distributed with this source code.
|
// 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 static DEFAULT_SIGNAL: usize = 15;
|
||||||
|
|
||||||
pub struct Signal<'a> {
|
pub struct Signal<'a> {
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
// mods ~ cross-platforms modules (core/bundler file)
|
// mods ~ cross-platforms modules (core/bundler file)
|
||||||
|
|
||||||
// spell-checker:ignore (uucore/uutils) coreopts libc musl utmpx uucore uutils winapi
|
|
||||||
|
|
||||||
pub mod coreopts;
|
pub mod coreopts;
|
||||||
pub mod panic;
|
pub mod panic;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
// spell-checker:ignore () SIGPIPE maint uutils
|
|
||||||
|
|
||||||
use std::panic;
|
use std::panic;
|
||||||
|
|
||||||
//## SIGPIPE handling background/discussions ...
|
//## SIGPIPE handling background/discussions ...
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
|
|
||||||
extern crate proc_macro;
|
extern crate proc_macro;
|
||||||
|
|
||||||
// spell-checker:ignore () SIGPIPE maint uucore uumain uutils
|
|
||||||
|
|
||||||
//## rust proc-macro background info
|
//## rust proc-macro background info
|
||||||
//* ref: <https://dev.to/naufraghi/procedural-macro-in-rust-101-k3f> @@ <http://archive.is/Vbr5e>
|
//* 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>
|
//* ref: [path construction from LitStr](https://oschwald.github.io/maxminddb-rust/syn/struct.LitStr.html) @@ <http://archive.is/8YDua>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue