mirror of
https://github.com/rclone/rclone.git
synced 2024-11-30 04:15:26 +01:00
12 lines
501 B
Go
12 lines
501 B
Go
// Copyright 2019 Caleb Case
|
|
|
|
// 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).
|
|
//
|
|
// tmpfile provides support for at least Linux, OSX, and Windows. Generally any
|
|
// POSIX system that adheres to the semantics of unlink
|
|
// (https://pubs.opengroup.org/onlinepubs/9699919799/functions/unlink.html)
|
|
// should work. Special handling is provided for other platforms.
|
|
package tmpfile
|