Skip to main content

Home > git-documentdb > TextDocMetadata

TextDocMetadata type#

Metadata for TextDoc

Signature:
export declare type TextDocMetadata = {
name: string;
fileOid: string;
type: 'text';
};

Remarks#

  • name: A file name in Git. e.g.) "foo", "bar/baz.md"

  • fileOid: SHA-1 hash of Git object (40 characters)

  • type: type shows a DocType. type of TextDocMetadata is fixed to 'text'.