filesystem

package
v0.0.74 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PivnetRCReadWriter

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

func NewPivnetRCReadWriter

func NewPivnetRCReadWriter(configFilepath string) *PivnetRCReadWriter

func (*PivnetRCReadWriter) ReadFromFile

func (h *PivnetRCReadWriter) ReadFromFile() ([]byte, error)

loadPivnetRC does not return an error if the file does not exist but will return an error for other reasons e.g. the file cannot be read.

func (*PivnetRCReadWriter) WriteToFile

func (h *PivnetRCReadWriter) WriteToFile(contents []byte) error

type PivnetRCWriter

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

Jump to

Keyboard shortcuts

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