type perm = [
| `Normal | A |
| `Everybody | |
| `Exec | An executable. |
| `Link | A |
| `Dir | A sub- |
| `Commit | A sub-module ( |
]
entry name perm node
is a new entry. Raise Invalid_argument
if name
contains '\000'
.
A Git Tree object. Git stores content in a manner similar to a UNIX filesystem, but a bit simplified. All the content is stored as tree and Blob
.t objects, with trees corresponding to UNIX directory entries and blobs corresponding more or less to inodes or file contents. A single tree object contains one or more tree entries, each of which contains a hash pointer to a Blob
.t or sub-tree with its associated mode, type, and filename.
val is_empty : t -> bool
val perm_of_string : string -> perm
val string_of_perm : perm -> string
module MakeMeta : functor (Meta : Encore.Meta.S) -> sig ... end
module A : sig ... end
module M : sig ... end
module D : sig ... end
module E : sig ... end
val length : t -> int64
length t
returns the length of the tree object t
.