Options
All
  • Public
  • Public/Protected
  • All
Menu

OverlayFS makes a read-only filesystem writable by storing writes on a second, writable file system. Deletes are persisted via metadata stored on the writable file system.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Static Name

Name: "OverlayFS" = "OverlayFS"

Methods

appendFile

appendFileSync

  • appendFileSync(fname: string, data: any, encoding: string, flag: FileFlag, mode: number): void

chmod

chmodSync

  • chmodSync(p: string, isLchmod: boolean, mode: number): void

chown

  • chown(p: string, isLchown: boolean, uid: number, gid: number, cb: BFSOneArgCallback): void

chownSync

  • chownSync(p: string, isLchown: boolean, uid: number, gid: number): void

diskSpace

  • diskSpace(p: string, cb: function): void
  • Parameters

    • p: string
    • cb: function
        • (total: number, free: number): any
        • Parameters

          • total: number
          • free: number

          Returns any

    Returns void

exists

  • exists(p: string, cb: function): void

existsSync

  • existsSync(p: string): boolean

getFSUnlocked

getName

  • getName(): string

getOverlayedFileSystems

  • getOverlayedFileSystems(): object

isReadOnly

  • isReadOnly(): boolean

link

linkSync

  • linkSync(srcpath: string, dstpath: string): void

mkdir

mkdirSync

  • mkdirSync(p: string, mode: number): void

open

openSync

readFile

  • readFile(fname: string, encoding: string, flag: FileFlag, cb: BFSCallback<string | Buffer>): void

readFileSync

  • readFileSync(fname: string, encoding: string, flag: FileFlag): any

readdir

readdirSync

  • readdirSync(p: string): string[]

readlink

readlinkSync

  • readlinkSync(p: string): string

realpath

  • realpath(p: string, cache: object, cb: BFSCallback<string>): void

realpathSync

  • realpathSync(p: string, cache: object): string

rename

renameSync

  • renameSync(oldPath: string, newPath: string): void

rmdir

rmdirSync

  • rmdirSync(p: string): void

stat

statSync

  • statSync(p: string, isLstat: boolean): Stats

supportsLinks

  • supportsLinks(): boolean

supportsProps

  • supportsProps(): boolean

supportsSynch

  • supportsSynch(): boolean

symlink

  • symlink(srcpath: string, dstpath: string, type: string, cb: BFSOneArgCallback): void

symlinkSync

  • symlinkSync(srcpath: string, dstpath: string, type: string): void

truncate

truncateSync

  • truncateSync(p: string, len: number): void

unlink

unlinkSync

  • unlinkSync(p: string): void

unwrap

utimes

utimesSync

  • utimesSync(p: string, atime: Date, mtime: Date): void

writeFile

writeFileSync

  • writeFileSync(fname: string, data: any, encoding: string, flag: FileFlag, mode: number): void

Static Create

Static isAvailable

  • isAvailable(): boolean

Object literals

Static Options

Options: object

readable

readable: object

description

description: string = "The file system that initially populates this file system."

type

type: string = "object"

writable

writable: object

description

description: string = "The file system to write modified files to."

type

type: string = "object"

Generated using TypeDoc