Skip to content

PopulateFileContent

Content value for a single entry in a PopulateFiles map.

  • string — text file (written as UTF-8). - Uint8Array — binary file (written as raw bytes; Buffer is accepted because Buffer extends Uint8Array). - undefined — empty folder (the key must end with /).

Import:

import type { PopulateFileContent } from 'obsidian-integration-testing';

Signature:

export type PopulateFileContent

Signature:

type PopulateFileContent = string | Uint8Array | undefined

Type: string | Uint8Array | undefined


Links to this page: