disk

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(filePath string, content []byte) error

func DeleteFile added in v0.0.1

func DeleteFile(filePath string) error

func ExistsPath

func ExistsPath(path string) bool

Types

type FileChangedNotifier

type FileChangedNotifier struct {
	// contains filtered or unexported fields
}

func NewFileChangedNotifier

func NewFileChangedNotifier(file string) *FileChangedNotifier

func (*FileChangedNotifier) Subscribe

func (this *FileChangedNotifier) Subscribe(subscribeFunc func())

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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