Fork me on GitHub

Module fs-base

This module provides an implementation of "fs-base" as defined by the CommonJS Filesystem/A/0 proposal.

Functions

Class Permissions

Instance Methods

Instance Properties


Permissions (permissions, constructor)

Parameters

permissions
constructor

Permissions.prototype.constructor


Permissions.prototype.toNumber ()


Permissions.prototype.update (permissions)

Parameters

permissions

canonical (path)

Parameters

path

changeGroup (path, group)

Parameters

path
group

changeOwner (path, user)

Parameters

path
user

changePermissions (path, permissions)

Parameters

path
permissions

changeWorkingDirectory (path)

Parameters

path

exists (path)

Parameters

path

group (path)

Parameters

path

hardLink (source, target)

Parameters

source
target

isDirectory (path)

Parameters

path

isFile (path)

Parameters

path

isLink (target)

Parameters

target

isReadable (path)

Parameters

path

isWritable (path)

Parameters

path

iterate (path)

Parameters

path

lastModified (path)

Parameters

path

list (path)

Parameters

path

makeDirectory (path, permissions)

Parameters

path
permissions

move (from, to)

Parameters

from
to

openRaw (path, mode, permissions)

Parameters

path
mode
permissions

owner (path)

Parameters

path

permissions (path)

Parameters

path

readLink (path)

Parameters

path

remove (path)

Parameters

path

removeDirectory (path)

Parameters

path

same (pathA, pathB)

Parameters

pathA
pathB

sameFilesystem (pathA, pathB)

Parameters

pathA
pathB

size (path)

Parameters

path

symbolicLink (source, target)

Parameters

source
target

touch (path, mtime)

Parameters

path
mtime