MCPcopy Create free account

hub / github.com/GrayJack/coreutils / functions

Functions623 in github.com/GrayJack/coreutils

↓ 2 callersFunctioncreate_app
Note that this case needed custom usage string. So any future modification need to pay attention to it and modify if necessary
env/src/cli.rs:8
↓ 2 callersFunctioncreate_app
()
yes/src/cli.rs:3
↓ 2 callersFunctioncreate_app
()
mkfifo/src/cli.rs:3
↓ 2 callersFunctioncreate_app
()
uname/src/cli.rs:3
↓ 2 callersFunctioncreate_app
()
wc/src/cli.rs:3
↓ 2 callersFunctioncreate_app
()
mktemp/src/cli.rs:3
↓ 2 callersFunctioncreate_app
()
sleep/src/cli.rs:3
↓ 2 callersFunctioncreate_app
()
unlink/src/cli.rs:3
↓ 2 callersFunctioncreate_app
()
printf/src/cli.rs:3
↓ 2 callersFunctioncreate_app
()
whoami/src/cli.rs:3
↓ 2 callersFunctioncreate_app
()
id/src/cli.rs:4
↓ 2 callersFunctioncreate_app
()
tail/src/cli.rs:3
↓ 2 callersFunctioncreate_app
()
clear/src/cli.rs:3
↓ 2 callersFunctioncreate_app
()
nohup/src/cli.rs:6
↓ 2 callersFunctioncreate_file
(current: &str, created: &mut Vec<String>)
csplit/src/main.rs:141
↓ 2 callersFunctioncreate_numbered_backup
(file: &Path)
coreutils_core/src/backup.rs:105
↓ 2 callersFunctioncreate_simple_backup
(file: &Path, suffix: &str)
coreutils_core/src/backup.rs:173
↓ 2 callersFunctionexit_with_msg
Wrapper around `std::process::exit` that prints the error's message to stderr before quitting. Will try to propagate the error code set in the err if
time/src/subprocess.rs:13
↓ 2 callersMethodexpand_line
(&mut self, line: &str)
expand/src/main.rs:95
↓ 2 callersFunctionget_formatted_result
(filename: &str, result: &WcResult, flags: WcFlags)
wc/src/main.rs:164
↓ 2 callersMethodget_input
(&self)
coreutils_core/src/input.rs:59
↓ 2 callersFunctionget_stdout
(open_opts: &OpenOptions)
nohup/src/main.rs:82
↓ 2 callersMethodid
(&self)
coreutils_core/src/os/utmp.rs:73
↓ 2 callersMethodis_finished
(&self, value: f64)
seq/src/main.rs:55
↓ 2 callersFunctioniso8601_format_str
Returns the fortmat string acording to possible ISO8601 values.
date/src/main.rs:230
↓ 2 callersMethoditer
(&self)
coreutils_core/src/os/group.rs:500
↓ 2 callersFunctionline_count
Count the total number of lines in the provided buffer.
tail/src/main.rs:164
↓ 2 callersMethodlogin_time
(&self)
coreutils_core/src/os/utmp.rs:92
↓ 2 callersFunctionmain_sort
(matches: clap::ArgMatches)
sort/src/main.rs:22
↓ 2 callersMethodparse
(pattern: &str)
csplit/src/main.rs:324
↓ 2 callersFunctionparse_code
Parse a `input` code from `base` code to a UTF-8 char. The `max_digits` limits how many digits the `input` code can have.
echo/src/main.rs:55
↓ 2 callersFunctionparse_number
Parse a string slice as a number, or return error.
csplit/src/main.rs:430
↓ 2 callersFunctionprint_du
(value: DisplayValue, path: String, flags_opts: &DuFlagsAndOptions)
du/src/main.rs:546
↓ 2 callersFunctionprint_line
(line: String, flags: CatFlags, line_number: &mut usize, last_line_empty: &mut bool)
cat/src/main.rs:91
↓ 2 callersFunctionprocess_time
returns file time and manages the max_time vector
du/src/main.rs:451
↓ 2 callersFunctionprocess_value
returns file size and manages the subdir sizes vector
du/src/main.rs:367
↓ 2 callersFunctionrename_file
(curr: &Path, new: &Path, flags: &MvFlags)
mv/src/main.rs:129
↓ 2 callersFunctionrfc3339_format_str
Returns the fortmat string acording to possible RFC3339 values.
date/src/main.rs:245
↓ 2 callersFunctionset_group
(group: &str)
coreutils_core/src/os/process.rs:79
↓ 2 callersFunctionset_user
(user: &str)
coreutils_core/src/os/process.rs:45
↓ 2 callersMethodsize
(&self)
du/src/main.rs:48
↓ 2 callersMethodsize
Retrieve the file's size, in bytes, as a string
ls/src/file.rs:120
↓ 2 callersFunctionsort
Sort a list of files based on the provided flags.
ls/src/main.rs:260
↓ 2 callersFunctiontimed_run
Wrapper for creating, spawning and waiting on `std::process::Command` Returns the `std::process::ExitStatus` of the `std::process::Command` that was r
time/src/subprocess.rs:33
↓ 2 callersFunctiontimeval_to_duration
(t: TimeVal)
coreutils_core/src/os/resource.rs:73
↓ 2 callersMethodunexpand_line
(&mut self, line: &str)
unexpand/src/main.rs:104
↓ 2 callersFunctionuniq
( reader: &mut R, writer: &mut W, flags: Flags, )
uniq/src/main.rs:113
↓ 2 callersMethoduser
Retrieves the file's user name as a string. If the `-n` flag is set, the the user's ID is returned
ls/src/file.rs:95
↓ 1 callersMethodadd_char_device_color
Adds a bold yellow color on a black background to a char device name.
ls/src/file.rs:295
↓ 1 callersMethodadd_directory_color
Adds a bold blue color to a directory name
ls/src/file.rs:285
↓ 1 callersMethodadd_fifo_color
Adds a yellow color on a black background to an FIFO name.
ls/src/file.rs:290
↓ 1 callersMethodadd_symlink_color
Adds a bold cyan color to a file name to represent a symlink
ls/src/file.rs:300
↓ 1 callersFunctionaudit_info
()
coreutils_core/src/os/audit.rs:150
↓ 1 callersFunctionaudit_logic
()
id/src/main.rs:234
↓ 1 callersFunctionboottime
()
coreutils_core/src/os/time.rs:93
↓ 1 callersFunctionbuild_datetime
Build a [`DateTime`] from a `date_str`. The `date_str` format is `[[[[[CC]YY]MM]DD]hh]mm[.SS]`
date/src/main.rs:88
↓ 1 callersFunctionbuild_patterns
(patterns: Vec<&str>)
csplit/src/main.rs:100
↓ 1 callersFunctionchange_root
(newroot: &str)
coreutils_core/src/os/process.rs:24
↓ 1 callersMethodcheck_and_change_section
(&mut self, line: &str)
nl/src/main.rs:316
↓ 1 callersMethodcmp
(&self, other: &Self)
du/src/time.rs:55
↓ 1 callersMethodcombine
(self, other: WcResult)
wc/src/main.rs:116
↓ 1 callersMethodconvert
(&mut self, files: Vec<String>)
nl/src/main.rs:216
↓ 1 callersFunctioncount_integer_digits
(float: &str)
seq/src/float.rs:1
↓ 1 callersFunctioncreate_existing_backup
(file: &Path, suffix: &str)
coreutils_core/src/backup.rs:141
↓ 1 callersFunctioncsh_formatter
(rusage: &RUsage, timings: TimeTriple)
time/src/output.rs:183
↓ 1 callersFunctioncsplit
(args: &ArgMatches, created: &mut Vec<String>)
csplit/src/main.rs:35
↓ 1 callersFunctioncurrent_dir_logical
()
coreutils_core/src/env.rs:65
↓ 1 callersFunctioncustom_formatter
(rusage: &RUsage, timings: TimeTriple, format_spec: &str)
time/src/output.rs:155
↓ 1 callersFunctiondate
(matches: &ArgMatches)
date/src/main.rs:22
↓ 1 callersFunctiondatetime_from_file
Returns the last modified date of `filename`.
date/src/main.rs:194
↓ 1 callersFunctiondefault_formatter
(_: &RUsage, timings: TimeTriple)
time/src/output.rs:108
↓ 1 callersFunctiondefault_logic
(passwd: &Passwd, sep: char)
id/src/main.rs:150
↓ 1 callersMethoddevice_name
(&self)
coreutils_core/src/os/utmp.rs:79
↓ 1 callersFunctionecho
Print given `strings` to standard output. If `scape` true, it also prints the scape codes inside `strings`. If `no_newline` true, it does not print a
echo/src/main.rs:28
↓ 1 callersFunctionfile_older
(f: &Path, ff: &Path)
mv/src/main.rs:182
↓ 1 callersFunctionfilter_entries
(uts: &'a UtmpSet, flags: WhoFlags)
who/src/main.rs:152
↓ 1 callersMethodformat_stats
Format the rusage and timing information into a `String` # Arguments `rusage` - Resource usage of the process being timed `duration` - Time taken by
time/src/output.rs:87
↓ 1 callersMethodget
(&self)
coreutils_core/src/input.rs:84
↓ 1 callersFunctionget_bytes
(metadata: &Metadata, use_apparent_size: bool)
du/src/main.rs:424
↓ 1 callersFunctionget_display_time
(metadata: &Metadata, time: &TimeOption)
du/src/main.rs:473
↓ 1 callersFunctionget_display_value
(metadata: &Metadata, flags_opts: &DuFlagsAndOptions)
du/src/main.rs:407
↓ 1 callersMethodget_formatted
(&self, style: &TimeStyleOption)
du/src/time.rs:48
↓ 1 callersFunctionget_inode
()
du/src/main.rs:440
↓ 1 callersMethodget_output_stream
(&self)
time/src/flags.rs:30
↓ 1 callersFunctionget_priority
(which: c_int, who: c_int)
coreutils_core/src/os/process/priority.rs:19
↓ 1 callersFunctionget_rusage
Safely wrap `libc::getrusage`
coreutils_core/src/os/resource.rs:112
↓ 1 callersFunctiongrid
Writes the provided files in a grid format.
ls/src/output.rs:100
↓ 1 callersMethodgroup
Retrieves the file's group name as a string. If the `-n` flag is set, the the group's ID is returned
ls/src/file.rs:108
↓ 1 callersFunctiongroup_logic
(passwd: &Passwd, flags: IdFlags, sep: char)
id/src/main.rs:178
↓ 1 callersFunctiongroups_logic
(passwd: &Passwd, flags: IdFlags, sep: char)
id/src/main.rs:201
↓ 1 callersMethodhard_links
Retrieves the number of hard links pointing to a file as a string
ls/src/file.rs:84
↓ 1 callersFunctionhead
Return the head of our input, truncated at a number of lines or bytes
head/src/main.rs:71
↓ 1 callersMethodhuman_readable
(&self)
du/src/blocksize.rs:192
↓ 1 callersFunctioninit_blocksize
()
du/src/blocksize.rs:210
↓ 1 callersMethodinode
Retrieves the inode number as a string
ls/src/file.rs:89
↓ 1 callersMethodinto_vec
(self)
coreutils_core/src/os/group.rs:494
↓ 1 callersMethodis_name_valid
Check if `--name` doesn't occour with `--group` or `--groups` or `--user`
id/src/main.rs:133
↓ 1 callersMethodis_real_valid
Check if `--real` doesn't occour with `--group` or `--user`
id/src/main.rs:141
↓ 1 callersMethodis_tab_stop
(&self, column: usize)
unexpand/src/tab_stops.rs:95
↓ 1 callersMethodis_zero_valid
Check if `--zero` doesn't occour with `--group` or `--groups` or `--user` or `--file`
id/src/main.rs:125
← previousnext →101–200 of 623, ranked by callers