osutil

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Package osutil provides utilities for working with the os package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TempFilePath

func TempFilePath(dir, pattern string) (string, error)

TempFilePath creates a temporary file in dir with the given pattern and returns its path. If dir is an empty string, os.TempDir() is used.

It is the caller's responsibility to delete the file when done.

Types

This section is empty.

Jump to

Keyboard shortcuts

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