Registry / utility / calebcase-tmpfile

calebcase-tmpfile

JSON →
library1.0.3gogounverified

Package tmpfile provides a cross platform facility for creating temporary files that are automatically cleaned up even in the event of an unexpected process exit.

go get github.com/calebcase/tmpfile
INSTALL
IMPORT
SIG · CALEBCASE-TMPFILE
C
calebcase-tmpfile
utilitygov1.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

tmpfile
github.com/calebcase/tmpfile

Creates a temporary file that is automatically cleaned up.

package main import ( "fmt" "github.com/calebcase/tmpfile" ) func main() { f, err := tmpfile.New("example") if err != nil { panic(err) } defer f.Close() fmt.Println(f.Name()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
calebcase-tmpfile — go get calebcase-tmpfile · libregistry