disk

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy added in v0.0.14

func Copy(src, dst string) error

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 interface {
	Subscribe(subscribeFunc *func())
}

FileChangedNotifier defines and object that observe changes of a file

func NewFileChangedNotifier

func NewFileChangedNotifier(file string) FileChangedNotifier

NewFileChangedNotifier returns a FileChangedNotifier

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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