<mode> <type> <sha1> <name>
cg-admin-ls - list contents of a particular tree in the repository
cg-admin-ls [-r TREE_ID] [PATH]
Optionally takes a commit or tree ID as a parameter, defaulting to HEAD.
List the contents of the given TREE_ID (which can be any tree id, but most usually you will just use a revision id here).
Print usage summary.
Print user manual. The same as found in cg-admin-ls(1).
Print Cogito version.
Each line in the output has the following format:
<mode> <type> <sha1> <name>
where
The file permission information in octal format.
The type can be the following: blob refers to files and tree refers to directories.
The object ID.
The file or directory name.
Example line:
100644 blob c7dacd0ea28994e3c754ca4eadb2e08c011ee3d3 README
Copyright © Petr Baudis, 2005