Skip to content

Backport prepare_for_deletion() #38159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 28, 2020

Conversation

staticfloat
Copy link
Member

This backports a3430e7 to Julia 1.5.3

X-ref: JuliaLang/Pkg.jl#2162

@fredrikekre
Copy link
Member

I meant just backporting in Pkg, but maybe it is generally useful.

@Sacha0 Sacha0 force-pushed the backports-release-1.5 branch from a408c1d to bb83a29 Compare October 23, 2020 21:58
weird permissions a user may have created directories with within the temporary prefix,
it will always be deleted.
"""
function prepare_for_deletion(path::AbstractString)
Copy link
Member

Choose a reason for hiding this comment

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

This seems like backporting a feature......

Copy link
Member Author

Choose a reason for hiding this comment

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

I'd argue it's closer to a bugfix for mktempdir(). :P

@staticfloat staticfloat force-pushed the sf/backport_prepare_for_deletion branch from 49b8624 to bca2df2 Compare October 27, 2020 23:49
@staticfloat staticfloat merged commit 0305b7c into backports-release-1.5 Oct 28, 2020
@staticfloat staticfloat deleted the sf/backport_prepare_for_deletion branch October 28, 2020 15:57
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.

3 participants