file

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CatFile

func CatFile(name string) error

func Decrypt

func Decrypt(ciphertext []byte, key []byte) ([]byte, error)

func DecryptFile

func DecryptFile(key string) error

func DeleteAllFile

func DeleteAllFile() error

func DeleteFile

func DeleteFile(name string) error

func Encrypt

func Encrypt(plaintext []byte, key []byte) ([]byte, error)

func EncryptFile

func EncryptFile(key string) error

func ListDataFile

func ListDataFile() ([]os.FileInfo, error)

func ListRenderFile

func ListRenderFile() ([]os.FileInfo, error)

func Monitor

func Monitor(dir string)

Monitor file change event in a directory

func OpenFile

func OpenFile(name string, editor string) error

func RenameFile

func RenameFile(oldName, newName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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