Documentation
¶
Index ¶
- Variables
- func CopyFileError(file string, err error) error
- func CreateDirError(dir string, err error) error
- func EnsureConfigFile(homeDir string) error
- func EnsureCustomSourcesFile(homeDir string) error
- func EnsureDirs(homeDir string) error
- func EnsureSourcesFile(homeDir string) error
- func ReadFileError(path string, err error) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigYAML string
View Source
var CustomSourcesYAML string
View Source
var SourcesYAML string
Functions ¶
func CopyFileError ¶
func CreateDirError ¶
func EnsureConfigFile ¶
func EnsureCustomSourcesFile ¶ added in v0.1.2
EnsureCustomSourcesFile writes custom_sources.yaml only on first run. This file is owned by the user and will never be overwritten.
func EnsureDirs ¶
func EnsureSourcesFile ¶
EnsureSourcesFile always overwrites sources.yaml with the embedded version. Users should not edit this file; use custom_sources.yaml for custom sources. This file is overwritten at every run to ensure users have the latest modifications for 'official' GNverifier datasets.
func ReadFileError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.