#
val entry_of_file : ?root:string
-> string
-> Tree.
perm -> Blob.
t -> Cache.
entry option
Lwt.
t
Generate a cache entry for the file. Create a fresh file if it
does not already exist. If root
is not set, use the current
working directory as repository root.