mirror of
https://github.com/uutils/uucore.git
synced 2026-06-10 15:48:52 -07:00
docs/spell ~ spell-check and addition of exceptions
This commit is contained in:
@@ -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 () 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 () 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 () fperm srwx umask
|
||||
|
||||
pub fn parse_numeric(fperm: u32, mut mode: &str) -> Result<u32, String> {
|
||||
let (op, pos) = parse_op(mode, Some('='))?;
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
// spell-checker:ignore () NANOS fract numstr trunc
|
||||
|
||||
use std::time::Duration;
|
||||
|
||||
pub fn from_str(string: &str) -> Result<Duration, String> {
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
//
|
||||
// For the full copyright and license information, please view the LICENSE file
|
||||
// that was distributed with this source code.
|
||||
//
|
||||
|
||||
// spell-checker:ignore () cvar exitstatus WIFSIGNALED
|
||||
|
||||
use libc::{c_int, gid_t, pid_t, uid_t};
|
||||
use std::fmt;
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
* 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> {
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
use std::ffi::{OsStr, OsString};
|
||||
use std::os::windows::ffi::{OsStrExt, OsStringExt};
|
||||
pub trait ToWide {
|
||||
|
||||
@@ -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 ...
|
||||
|
||||
@@ -3,8 +3,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>
|
||||
|
||||
Reference in New Issue
Block a user