Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Link

Represents a link item in the file system; defaults to type 'softlink'.

Hierarchy

  • ItemBase
    • Link

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

adapter

adapter: Adapter

The file system adapter instance to use.

committed

committed: boolean

The status of the commit.

contents

contents: RealItem

name

name: string

The name of the item.

Optional parent

parent: ParentItem

The parent of the item.

path

path: string

The absolute path to the item.

type

type: LinkType

The type of item, either a hardlink or softlink.

Accessors

size

  • get size(): number

Methods

commit

  • commit(): Promise<void>

Generated using TypeDoc