fspath

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(creator FsCreator, path string) error

CreateFile creates all missing parent dir's in the file and the file itself.

Types

type FsCreator

type FsCreator interface {
	MkdirAll(path string, perm fs.FileMode) error
	Create(name string) error
}

Jump to

Keyboard shortcuts

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