Skip to main content

Home > git-documentdb > BinaryDocMetadata

BinaryDocMetadata type#

Metadata for BinaryDoc

Signature:
export declare type BinaryDocMetadata = {
name: string;
fileOid: string;
type: 'binary';
};

Remarks#

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

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

  • type: type shows a DocType. The type of BinaryDocMetadata is fixed to 'binary'.