Skip to main content
Version: v1

ITreeEntry TypeAlias

A tree entry wraps a path with a type of node

Signature

export declare type ITreeEntry = {
path: string;
mode: FileMode;
} & ({
type: TreeEntry.Blob;
value: IBlob;
} | {
type: TreeEntry.Tree;
value: ITree;
} | {
type: TreeEntry.Attachment;
value: IAttachment;
});