Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FsInterface

An interface to define multiple types of file systems.

(c) 2019 Micro:bit Educational Foundation and the microbit-fs contributors. SPDX-License-Identifier: MIT

Hierarchy

  • FsInterface

Implemented by

Methods

append

  • append(filename: string, content: string): void

exists

  • exists(filename: string): boolean

ls

  • ls(): string[]

read

  • read(filename: string): string

readBytes

  • readBytes(filename: string): Uint8Array

remove

  • remove(filename: string): void

size

  • size(filename: string): number

write

  • write(filename: string, content: string): void

Generated using TypeDoc