Skip to content

Named tmpfiles - #180

Merged
ezrizhu merged 2 commits into
mainfrom
named-tmpfiles
Oct 29, 2024
Merged

ezrizhu merged 2 commits into
mainfrom
named-tmpfiles

Conversation

@ezrizhu

@ezrizhu ezrizhu commented Oct 29, 2024

Copy link
Copy Markdown
Member

closes #179

@ezrizhu
ezrizhu requested a review from mgree October 29, 2024 06:06

@mgree mgree left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm slightly tempted to make a helper function like:

trytemp() {
  mktemp "$@" --suffix ".try-$EXECID"
}

and then use that throughout. I also wonder about using the sandbox directory to hold all of our temporaries, which we could then give clear names to. Not worth the trouble right now, though.

@ezrizhu ezrizhu self-assigned this Oct 29, 2024
@ezrizhu
ezrizhu merged commit 872845f into main Oct 29, 2024
@ezrizhu
ezrizhu deleted the named-tmpfiles branch October 29, 2024 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Name try's tmp dirs

2 participants