tempfiles

package
v0.448.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

README

tempfiles package

Create and handle temporary files and directories.

For an object oriented implementation see tempfilesoo

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNamedTemporaryFile

func CreateNamedTemporaryFile(ctx context.Context, fileName string) (string, error)

func CreateTempDir added in v0.407.0

func CreateTempDir(ctx context.Context) (string, error)

func CreateTemporaryFile added in v0.407.0

func CreateTemporaryFile(ctx context.Context) (string, error)

func CreateTemporaryFileFromContentString added in v0.438.0

func CreateTemporaryFileFromContentString(ctx context.Context, content string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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