iofs

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 CopyFileError(file string, err error) error

func CreateDirError

func CreateDirError(dir string, err error) error

func EnsureConfigFile

func EnsureConfigFile(homeDir string) error

func EnsureCustomSourcesFile added in v0.1.2

func EnsureCustomSourcesFile(homeDir string) error

EnsureCustomSourcesFile writes custom_sources.yaml only on first run. This file is owned by the user and will never be overwritten.

func EnsureDirs

func EnsureDirs(homeDir string) error

func EnsureSourcesFile

func EnsureSourcesFile(homeDir string) error

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

func ReadFileError(path string, err error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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