/** * One row of a Hub repository tree. * * `path` is repo-relative with no leading slash. A subtree listing * reports full repo-relative paths too, not paths relative to the * subtree, which is what lets a keyPrefix mount fetch only its own * subtree and strip the prefix. * * `size` is the *content* length. For an LFS file this is the real size, * never the 135-byte pointer; reporting the pointer would make wc -c and * ls -l lie and risk truncated copies over FUSE. * * `oid` is the git object sha. Content-addressed, so it is the strongest * fingerprint available and identical bytes carry an identical oid. */ export interface TreeEntry { path: string; type: string; oid: string; size?: number | undefined; /** The date of the commit that last touched the path, when the listing * was expanded; '' otherwise. */ lastModified: string; lastCommit: string; /** The LFS sha256, '' for a regular git blob. */ lfsOid: string; /** The Xet content hash, '' when the file is not Xet-backed. */ xetHash: string; } export declare function isDirEntry(entry: TreeEntry): boolean; //# sourceMappingURL=tree_entry.d.ts.map