Skip to content

Latest commit

 

History

History
113 lines (59 loc) · 2.08 KB

File metadata and controls

113 lines (59 loc) · 2.08 KB

mocha-pod / Exports / TestFs / FileSpec

Interface: FileSpec

TestFs.FileSpec

Generic file options

Hierarchy

Table of contents

Properties

Properties

atime

• atime: Date

Last access time for the file.

Default Value

new Date()

Inherited from

FileOpts.atime

Defined in

testfs/types.ts:21


contents

• contents: FileContents

Contents of the file

Defined in

testfs/types.ts:49


gid

• gid: number

Group id for the file

Default Value

process.getgid()

Inherited from

FileOpts.gid

Defined in

testfs/types.ts:42


mtime

• mtime: Date

Last modification time for the file.

Default Value

new Date()

Inherited from

FileOpts.mtime

Defined in

testfs/types.ts:28


uid

• uid: number

User id for the file

@defaultValue: process.getuid()

Inherited from

FileOpts.uid

Defined in

testfs/types.ts:35