tempfile

package module
v0.0.0-...-791f799 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: Apache-2.0, MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commit

func Commit(f *os.File) error

Commit links a file returned by Open into its directory after invoking f.Sync().

func Open

func Open(dir, name string, mode os.FileMode) (*os.File, error)

Open returns an anonymous file in the directory specified by dir, with filepath.Join(dir, name) as file.Name().

Types

This section is empty.

Jump to

Keyboard shortcuts

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