Expand description
CLI option parsing.
StructsΒ§
- Diff
Options π - Display
Options π - File
Permissions πA cross-platform representation of file permissions.
EnumsΒ§
- Color
Output π - Display
Mode π - File
Argument π - Mode π
ConstantsΒ§
- DEFAULT_
BYTE_ πLIMIT - DEFAULT_
GRAPH_ πLIMIT - DEFAULT_
TAB_ πWIDTH - USAGE π
FunctionsΒ§
- app π
- build_
display_ πpath - common_
path_ πsuffix - detect_
color_ πsupport Always enable colour if stdout is a TTY or if the git pager is active. - Try to work out the width of the terminal weβre on, or fall back to a sensible default value.
- is_
git_ πtmpfile Doespathlook like β/tmp/git-blob-abcdef/modified_field.txtβ? - parse_
args πParse CLI arguments passed to the binary. - relative_
to_ πcurrent - should_
use_ πcolor - try_
canonicalize π