UNPKG

@mieweb/wikigdrive

Version:

Google Drive to MarkDown synchronization

13 lines (11 loc) 491 B
import {Writable} from 'node:stream'; export interface OciContainer { start(): Promise<void>; copy(localPath: string, remotePath: string): Promise<void>; putFile(uint8Array: Uint8Array, remotePath: string): Promise<void>; export(remotePath: string, localPath: string): Promise<void>; getFile(remotePath: string): Promise<Uint8Array>; exec(command: string, env: { [p: string]: string }, writable: Writable): Promise<number>; stop(): Promise<void>; remove(): Promise<void>; }