siafile

package
v1.10.52 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(sourceFile, destFile string, perm os.FileMode) error

func CopyCertKeyFile

func CopyCertKeyFile(srcKey, destKey, srcCert, destCert string, keyPerm, certPerm int) error

func Exists

func Exists(path string) bool

func ReadFile added in v1.10.33

func ReadFile(filePath string, value interface{}) error

func Update

func Update(fileName string, contents []byte, uid, gid int, perm os.FileMode, vfn verify.VerifyFn) error

func WriteFile added in v1.10.33

func WriteFile(content interface{}, ipFile 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