Skip to main content

Module ls_files

Module ls_files 

Source
Expand description

mkit ls-files [-s] [-z] [--others] [--ignored] [--exclude-standard] โ€” list files in the index or untracked worktree files, like git ls-files.

Default: tracked paths (one per line, sorted). -s prints stage info (<mode> <hash> <stage>\t<path>; stage is always 0 โ€” mkit has no merge stages). --others lists untracked worktree files instead; --exclude-standard drops .mkitignore-ignored ones, and --ignored inverts to show only the ignored. -z NUL-terminates with raw paths.

Functionsยง

run