• Write content to a file.

    Parameters

    • file: Doc
    • content: string = ''
    • asBase64: boolean = false

    Returns Promise<{
        hash: string;
        stat: FileStat;
    }>