ITreeEntry TypeAlias
A tree entry wraps a path with a type of node.
This API is provided for existing users, but is not recommended for new users.
To use, import via @fluidframework/driver-definitions/legacy
.
For more information about our API support guarantees, see here.
Signature
export type ITreeEntry = {
path: string;
mode: FileMode;
} & ({
type: TreeEntry.Blob;
value: IBlob;
} | {
type: TreeEntry.Tree;
value: ITree;
} | {
type: TreeEntry.Attachment;
value: IAttachment;
});