tempfile icon indicating copy to clipboard operation
tempfile copied to clipboard

Temporary file library for rust

Results 28 tempfile issues
Sort by recently updated
recently updated
newest added

There's a better way to create tempfile that persists after writing is done on Linux using `O_TMPFILE`. While it only supports ext2, ext3, ext4, UDF, Minix, tmpfs XFS (Linux 3.15),...

Our "linux" test runner is really, GNU/Linux and uses GLibc. We should have an android test runner as well to test android-specific flows. That'll let us catch bugs like #259.

help wanted

This is where I'm going to keep a list of known pain points with tempfile v3 that can't be fixed without breaking changes. I don't know if we'll ever _have_...

Getting the following error: Error: Custom { kind: AlreadyExists, error: PathError { path: "/tmp", err: Custom { kind: AlreadyExists, error: "too many temporary files exist" } } } When creating...

I would like to be able to conditionally avoid cleaning up a TempDir, and right now there doesn't seem to be an option for that besides resorting to shenanigans to...

`NamedTempFile::into_file` says "The inner file will be deleted". It's unclear what that means. I'm assuming it means the temp file will be deleted when the Rust `File` returned by `into_file`...

Today, tempfile sets the permissions to 0600. When the file is persisted, this mode is then propagated. Unfortunately 0600 isn't a universally applicable mode, especially in cases where the temporary...

This PR is a result of discussion at https://github.com/smol-rs/fastrand/pull/77. Right now the fastrand implementation is robust with current Rust implementation against TLS deallocation issues, because the Rng struct does not...