files

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAwsumDataDirectory

func CreateAwsumDataDirectory() (string, error)

func GenerateHostKeyCallbackFromKnownHosts

func GenerateHostKeyCallbackFromKnownHosts() (ssh.HostKeyCallback, error)

func GetAssumedUserSSHDir

func GetAssumedUserSSHDir() (string, error)

func OpenAwsumFile

func OpenAwsumFile(filename string, flag int, perm os.FileMode) (*os.File, error)

OpenAwsumFile opens a file with the given parameters in the awsum data directory.

func ReadFileFull

func ReadFileFull(filename string) ([]byte, error)

func WriteToFile

func WriteToFile(filename string, buf []byte, append ...bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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