fileutils

package
v0.0.0-...-776f117 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithFileOpened

func WithFileOpened(fpath string, cb func(fp *os.File) error, flag int, mode os.FileMode) error

WithFileOpened runs cb with fpath file opened, it doesn't check if fp.Close was successful

Types

This section is empty.

Jump to

Keyboard shortcuts

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