internal/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2026 License: Apache-2.0

Directories

Path Synopsis
Package backup implements the backup scheme which the GNU utilities that overwrite or remove files (cp, install, ln and mv) share: before a file is replaced, it can be renamed aside, either under a simple name holding a suffix or under a numbered one.
Package backup implements the backup scheme which the GNU utilities that overwrite or remove files (cp, install, ln and mv) share: before a file is replaced, it can be renamed aside, either under a simple name holding a suffix or under a numbered one.
Package basex implements the behavior shared by the base32 and base64 utilities, on top of the RFC 4648 encodings of the standard library.
Package basex implements the behavior shared by the base32 and base64 utilities, on top of the RFC 4648 encodings of the standard library.
Package bracket translates the POSIX bracket expressions shared by the basic and extended regular expressions.
Package bracket translates the POSIX bracket expressions shared by the basic and extended regular expressions.
Package bre compiles POSIX basic regular expressions.
Package bre compiles POSIX basic regular expressions.
Package charset implements the character set syntax shared by the utilities that translate characters, like tr and the y command of sed.
Package charset implements the character set syntax shared by the utilities that translate characters, like tr and the y command of sed.
Package cmdutil helps the main packages of the core utilities.
Package cmdutil helps the main packages of the core utilities.
Package cnum scans the C-style integers of the core utility operands, with the base of the digits detected the way C takes it: hexadecimal with a 0x or 0X prefix, octal with a leading 0, and decimal otherwise.
Package cnum scans the C-style integers of the core utility operands, with the base of the digits detected the way C takes it: hexadecimal with a 0x or 0X prefix, octal with a leading 0, and decimal otherwise.
Package ctxio provides I/O helpers that stop operations once a context is done.
Package ctxio provides I/O helpers that stop operations once a context is done.
Package diff implements the line diffing shared by the diff and patch utilities: the line splitting, the blank comparison of diff's -b, and the Myers algorithm that computes the changes between two sequences of lines.
Package diff implements the line diffing shared by the diff and patch utilities: the line splitting, the blank comparison of diff's -b, and the Myers algorithm that computes the changes between two sequences of lines.
Package digest implements the behavior shared by the checksum utilities md5sum, sha1sum and the sha*sum family.
Package digest implements the behavior shared by the checksum utilities md5sum, sha1sum and the sha*sum family.
Package durationparse parses the duration operands sleep and timeout take: a non-negative number, as strtod would read it, with an optional s, m, h or d unit suffix.
Package durationparse parses the duration operands sleep and timeout take: a non-negative number, as strtod would read it, with an optional s, m, h or d unit suffix.
Package ere compiles POSIX extended regular expressions.
Package ere compiles POSIX extended regular expressions.
Package filehdr writes the "==> name <==" headers which precede the output of each input file, as head and tail print them.
Package filehdr writes the "==> name <==" headers which precede the output of each input file, as head and tail print them.
Package fileinfo reports the information a file system may hold about a file beyond what io/fs models, read from the Sys value of its FileInfo: identifiers, link counts, ownership and the time of the last status change.
Package fileinfo reports the information a file system may hold about a file beyond what io/fs models, read from the Sys value of its FileInfo: identifiers, link counts, ownership and the time of the last status change.
Package filemode parses the mode operands shared by the utilities that match or change file permission bits, which are octal numbers or symbolic mode expressions.
Package filemode parses the mode operands shared by the utilities that match or change file permission bits, which are octal numbers or symbolic mode expressions.
Package fsop holds the operand plumbing shared by the utilities which copy, move, install or link files: the split of the operands into sources and a target, the source-and-destination pairs they work on, the symlink and time lookups they need, and the confirmations they ask the user.
Package fsop holds the operand plumbing shared by the utilities which copy, move, install or link files: the split of the operands into sources and a target, the source-and-destination pairs they work on, the symlink and time lookups they need, and the confirmations they ask the user.
Package getopt implements the POSIX option syntax shared by the core utilities: single-character options which may be grouped, option-arguments attached or held by the next argument, "--" ending the options, and parsing stopping at the first operand.
Package getopt implements the POSIX option syntax shared by the core utilities: single-character options which may be grouped, option-arguments attached or held by the next argument, "--" ending the options, and parsing stopping at the first operand.
Package glob compiles shell filename expansion patterns, as the pattern arguments of find and the file selection options of grep take them, into regular expressions.
Package glob compiles shell filename expansion patterns, as the pattern arguments of find and the file selection options of grep take them, into regular expressions.
Package gnudate parses GNU-style date strings, like the ones the -d options of date and touch take.
Package gnudate parses GNU-style date strings, like the ones the -d options of date and touch take.
Package input handles the input operands shared by the core utilities: mapping the operands to files or the standard input, and opening them.
Package input handles the input operands shared by the core utilities: mapping the operands to files or the standard input, and opening them.
Package numparse holds the ASCII digit predicates and the digits-only integer parsing shared by the utilities, so each of them keeps its own range checks, wording and overflow policy on top of them.
Package numparse holds the ASCII digit predicates and the digits-only integer parsing shared by the utilities, so each of them keeps its own range checks, wording and overflow policy on top of them.
Package output handles the output operands shared by the core utilities: creating or appending the files they write, or using the standard output.
Package output handles the output operands shared by the core utilities: creating or appending the files they write, or using the standard output.
Package patherr unwraps the path errors of the file system, so diagnostics can name the files themselves.
Package patherr unwraps the path errors of the file system, so diagnostics can name the files themselves.
Package printfmt holds the pieces of printf-style format strings shared by the printf utility and the -printf and -fprintf primaries of find.
Package printfmt holds the pieces of printf-style format strings shared by the printf utility and the -printf and -fprintf primaries of find.
Package rex holds the helpers shared by the basic and extended regular expression translators.
Package rex holds the helpers shared by the basic and extended regular expression translators.
Package sizefmt formats sizes the GNU way: as the spec the --block-size argument of the utilities which take one stands for, and as the human readable notation of their -h.
Package sizefmt formats sizes the GNU way: as the spec the --block-size argument of the utilities which take one stands for, and as the human readable notation of their -h.
Package sizeparse parses GNU-style size operands shared by the utilities which take sizes with multiplicative suffixes, like the bytes of head, tail, split and od, or the block size of ls.
Package sizeparse parses GNU-style size operands shared by the utilities which take sizes with multiplicative suffixes, like the bytes of head, tail, split and od, or the block size of ls.
Package stdopts implements the --help and --version options common to the core utilities, as described by the "Common options" section of the GNU Coreutils manual.
Package stdopts implements the --help and --version options common to the core utilities, as described by the "Common options" section of the GNU Coreutils manual.
Package tabutil implements the tab stop handling shared by the expand and unexpand utilities: parsing the tablist option-argument and walking the tab stops of a line.
Package tabutil implements the tab stop handling shared by the expand and unexpand utilities: parsing the tablist option-argument and walking the tab stops of a line.
Package term reports whether file descriptors are terminals.
Package term reports whether file descriptors are terminals.
Package testutil holds the test scaffolding shared by the core utilities tests: the table-driven runner for the common Runtime setup and assertions, and the reader, writer and file system fakes they need.
Package testutil holds the test scaffolding shared by the core utilities tests: the table-driven runner for the common Runtime setup and assertions, and the reader, writer and file system fakes they need.
Package textutil implements the line handling shared by the text processing utilities, like skipping the fields or characters of a line.
Package textutil implements the line handling shared by the text processing utilities, like skipping the fields or characters of a line.
Package usernames resolves the user and group identifiers of a file to the names they stand for, as ls, stat and find print them.
Package usernames resolves the user and group identifiers of a file to the names they stand for, as ls, stat and find print them.
Package uux implements the formats shared by the uuencode and uudecode utilities: the historical encoding, with its length-prefixed lines, and the framing of the base64 alternative, both wrapped by a "begin" header.
Package uux implements the formats shared by the uuencode and uudecode utilities: the historical encoding, with its length-prefixed lines, and the framing of the base64 alternative, both wrapped by a "begin" header.
Package verbose holds the reporting levels of the utilities which change file attributes, selected by the -c and -v options, and the names they show the files they walk by in their diagnostics.
Package verbose holds the reporting levels of the utilities which change file attributes, selected by the -c and -v options, and the names they show the files they walk by in their diagnostics.
Package walk traverses the file hierarchies below given starting points, following symbolic links as its options ask for.
Package walk traverses the file hierarchies below given starting points, following symbolic links as its options ask for.
Package zcore implements the behavior shared by the compression utilities, gzip and compress.
Package zcore implements the behavior shared by the compression utilities, gzip and compress.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL