fs

package
v0.0.0-...-a048d37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Constants

type Constants struct {
	O_WRONLY int
	O_RDWR   int
	O_CREAT  int
	O_TRUNC  int
	O_APPEND int
	O_EXCL   int
}

Constants is the constants in fs

func NewConstants

func NewConstants() *Constants

NewConstants instances a Constants

type FS

type FS struct {
	Constants *Constants
}

FS represents the fs namespace in js

func NewFS

func NewFS() *FS

NewFS instances the fs namespace

func (*FS) GetProperty

func (f *FS) GetProperty(name string) (interface{}, bool)

GetProperty implements js.PropertyGetter interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL