fsutil

package
v0.0.0-...-7f3e7ba Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2019 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteFile

func WriteFile(openFile OpenFileFunc, path string, b []byte) error

WriteFile opens or creates the file at path and writes b to it.

Types

type OpenFileFunc

type OpenFileFunc func(string, int, os.FileMode) (afero.File, error)

OpenFileFunc is a function that can open or create a file.

Jump to

Keyboard shortcuts

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