Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GrayJack/coreutils
/ functions
Functions
623 in github.com/GrayJack/coreutils
⨍
Functions
623
◇
Types & classes
98
↓ 2 callers
Function
create_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 callers
Function
create_app
()
yes/src/cli.rs:3
↓ 2 callers
Function
create_app
()
mkfifo/src/cli.rs:3
↓ 2 callers
Function
create_app
()
uname/src/cli.rs:3
↓ 2 callers
Function
create_app
()
wc/src/cli.rs:3
↓ 2 callers
Function
create_app
()
mktemp/src/cli.rs:3
↓ 2 callers
Function
create_app
()
sleep/src/cli.rs:3
↓ 2 callers
Function
create_app
()
unlink/src/cli.rs:3
↓ 2 callers
Function
create_app
()
printf/src/cli.rs:3
↓ 2 callers
Function
create_app
()
whoami/src/cli.rs:3
↓ 2 callers
Function
create_app
()
id/src/cli.rs:4
↓ 2 callers
Function
create_app
()
tail/src/cli.rs:3
↓ 2 callers
Function
create_app
()
clear/src/cli.rs:3
↓ 2 callers
Function
create_app
()
nohup/src/cli.rs:6
↓ 2 callers
Function
create_file
(current: &str, created: &mut Vec<String>)
csplit/src/main.rs:141
↓ 2 callers
Function
create_numbered_backup
(file: &Path)
coreutils_core/src/backup.rs:105
↓ 2 callers
Function
create_simple_backup
(file: &Path, suffix: &str)
coreutils_core/src/backup.rs:173
↓ 2 callers
Function
exit_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 callers
Method
expand_line
(&mut self, line: &str)
expand/src/main.rs:95
↓ 2 callers
Function
get_formatted_result
(filename: &str, result: &WcResult, flags: WcFlags)
wc/src/main.rs:164
↓ 2 callers
Method
get_input
(&self)
coreutils_core/src/input.rs:59
↓ 2 callers
Function
get_stdout
(open_opts: &OpenOptions)
nohup/src/main.rs:82
↓ 2 callers
Method
id
(&self)
coreutils_core/src/os/utmp.rs:73
↓ 2 callers
Method
is_finished
(&self, value: f64)
seq/src/main.rs:55
↓ 2 callers
Function
iso8601_format_str
Returns the fortmat string acording to possible ISO8601 values.
date/src/main.rs:230
↓ 2 callers
Method
iter
(&self)
coreutils_core/src/os/group.rs:500
↓ 2 callers
Function
line_count
Count the total number of lines in the provided buffer.
tail/src/main.rs:164
↓ 2 callers
Method
login_time
(&self)
coreutils_core/src/os/utmp.rs:92
↓ 2 callers
Function
main_sort
(matches: clap::ArgMatches)
sort/src/main.rs:22
↓ 2 callers
Method
parse
(pattern: &str)
csplit/src/main.rs:324
↓ 2 callers
Function
parse_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 callers
Function
parse_number
Parse a string slice as a number, or return error.
csplit/src/main.rs:430
↓ 2 callers
Function
print_du
(value: DisplayValue, path: String, flags_opts: &DuFlagsAndOptions)
du/src/main.rs:546
↓ 2 callers
Function
print_line
(line: String, flags: CatFlags, line_number: &mut usize, last_line_empty: &mut bool)
cat/src/main.rs:91
↓ 2 callers
Function
process_time
returns file time and manages the max_time vector
du/src/main.rs:451
↓ 2 callers
Function
process_value
returns file size and manages the subdir sizes vector
du/src/main.rs:367
↓ 2 callers
Function
rename_file
(curr: &Path, new: &Path, flags: &MvFlags)
mv/src/main.rs:129
↓ 2 callers
Function
rfc3339_format_str
Returns the fortmat string acording to possible RFC3339 values.
date/src/main.rs:245
↓ 2 callers
Function
set_group
(group: &str)
coreutils_core/src/os/process.rs:79
↓ 2 callers
Function
set_user
(user: &str)
coreutils_core/src/os/process.rs:45
↓ 2 callers
Method
size
(&self)
du/src/main.rs:48
↓ 2 callers
Method
size
Retrieve the file's size, in bytes, as a string
ls/src/file.rs:120
↓ 2 callers
Function
sort
Sort a list of files based on the provided flags.
ls/src/main.rs:260
↓ 2 callers
Function
timed_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 callers
Function
timeval_to_duration
(t: TimeVal)
coreutils_core/src/os/resource.rs:73
↓ 2 callers
Method
unexpand_line
(&mut self, line: &str)
unexpand/src/main.rs:104
↓ 2 callers
Function
uniq
( reader: &mut R, writer: &mut W, flags: Flags, )
uniq/src/main.rs:113
↓ 2 callers
Method
user
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 callers
Method
add_char_device_color
Adds a bold yellow color on a black background to a char device name.
ls/src/file.rs:295
↓ 1 callers
Method
add_directory_color
Adds a bold blue color to a directory name
ls/src/file.rs:285
↓ 1 callers
Method
add_fifo_color
Adds a yellow color on a black background to an FIFO name.
ls/src/file.rs:290
↓ 1 callers
Method
add_symlink_color
Adds a bold cyan color to a file name to represent a symlink
ls/src/file.rs:300
↓ 1 callers
Function
audit_info
()
coreutils_core/src/os/audit.rs:150
↓ 1 callers
Function
audit_logic
()
id/src/main.rs:234
↓ 1 callers
Function
boottime
()
coreutils_core/src/os/time.rs:93
↓ 1 callers
Function
build_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 callers
Function
build_patterns
(patterns: Vec<&str>)
csplit/src/main.rs:100
↓ 1 callers
Function
change_root
(newroot: &str)
coreutils_core/src/os/process.rs:24
↓ 1 callers
Method
check_and_change_section
(&mut self, line: &str)
nl/src/main.rs:316
↓ 1 callers
Method
cmp
(&self, other: &Self)
du/src/time.rs:55
↓ 1 callers
Method
combine
(self, other: WcResult)
wc/src/main.rs:116
↓ 1 callers
Method
convert
(&mut self, files: Vec<String>)
nl/src/main.rs:216
↓ 1 callers
Function
count_integer_digits
(float: &str)
seq/src/float.rs:1
↓ 1 callers
Function
create_existing_backup
(file: &Path, suffix: &str)
coreutils_core/src/backup.rs:141
↓ 1 callers
Function
csh_formatter
(rusage: &RUsage, timings: TimeTriple)
time/src/output.rs:183
↓ 1 callers
Function
csplit
(args: &ArgMatches, created: &mut Vec<String>)
csplit/src/main.rs:35
↓ 1 callers
Function
current_dir_logical
()
coreutils_core/src/env.rs:65
↓ 1 callers
Function
custom_formatter
(rusage: &RUsage, timings: TimeTriple, format_spec: &str)
time/src/output.rs:155
↓ 1 callers
Function
date
(matches: &ArgMatches)
date/src/main.rs:22
↓ 1 callers
Function
datetime_from_file
Returns the last modified date of `filename`.
date/src/main.rs:194
↓ 1 callers
Function
default_formatter
(_: &RUsage, timings: TimeTriple)
time/src/output.rs:108
↓ 1 callers
Function
default_logic
(passwd: &Passwd, sep: char)
id/src/main.rs:150
↓ 1 callers
Method
device_name
(&self)
coreutils_core/src/os/utmp.rs:79
↓ 1 callers
Function
echo
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 callers
Function
file_older
(f: &Path, ff: &Path)
mv/src/main.rs:182
↓ 1 callers
Function
filter_entries
(uts: &'a UtmpSet, flags: WhoFlags)
who/src/main.rs:152
↓ 1 callers
Method
format_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 callers
Method
get
(&self)
coreutils_core/src/input.rs:84
↓ 1 callers
Function
get_bytes
(metadata: &Metadata, use_apparent_size: bool)
du/src/main.rs:424
↓ 1 callers
Function
get_display_time
(metadata: &Metadata, time: &TimeOption)
du/src/main.rs:473
↓ 1 callers
Function
get_display_value
(metadata: &Metadata, flags_opts: &DuFlagsAndOptions)
du/src/main.rs:407
↓ 1 callers
Method
get_formatted
(&self, style: &TimeStyleOption)
du/src/time.rs:48
↓ 1 callers
Function
get_inode
()
du/src/main.rs:440
↓ 1 callers
Method
get_output_stream
(&self)
time/src/flags.rs:30
↓ 1 callers
Function
get_priority
(which: c_int, who: c_int)
coreutils_core/src/os/process/priority.rs:19
↓ 1 callers
Function
get_rusage
Safely wrap `libc::getrusage`
coreutils_core/src/os/resource.rs:112
↓ 1 callers
Function
grid
Writes the provided files in a grid format.
ls/src/output.rs:100
↓ 1 callers
Method
group
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 callers
Function
group_logic
(passwd: &Passwd, flags: IdFlags, sep: char)
id/src/main.rs:178
↓ 1 callers
Function
groups_logic
(passwd: &Passwd, flags: IdFlags, sep: char)
id/src/main.rs:201
↓ 1 callers
Method
hard_links
Retrieves the number of hard links pointing to a file as a string
ls/src/file.rs:84
↓ 1 callers
Function
head
Return the head of our input, truncated at a number of lines or bytes
head/src/main.rs:71
↓ 1 callers
Method
human_readable
(&self)
du/src/blocksize.rs:192
↓ 1 callers
Function
init_blocksize
()
du/src/blocksize.rs:210
↓ 1 callers
Method
inode
Retrieves the inode number as a string
ls/src/file.rs:89
↓ 1 callers
Method
into_vec
(self)
coreutils_core/src/os/group.rs:494
↓ 1 callers
Method
is_name_valid
Check if `--name` doesn't occour with `--group` or `--groups` or `--user`
id/src/main.rs:133
↓ 1 callers
Method
is_real_valid
Check if `--real` doesn't occour with `--group` or `--user`
id/src/main.rs:141
↓ 1 callers
Method
is_tab_stop
(&self, column: usize)
unexpand/src/tab_stops.rs:95
↓ 1 callers
Method
is_zero_valid
Check if `--zero` doesn't occour with `--group` or `--groups` or `--user` or `--file`
id/src/main.rs:125
← previous
next →
101–200 of 623, ranked by callers