Skip to content

Create tempdir if it does not exist#220

Merged
JonathonReinhart merged 0 commit intoJonathonReinhart:masterfrom
ARNTechnology:master
Aug 7, 2022
Merged

Create tempdir if it does not exist#220
JonathonReinhart merged 0 commit intoJonathonReinhart:masterfrom
ARNTechnology:master

Conversation

@ARNTechnology
Copy link

If the tmproot (TMPDIR or "/tmp") does not exist, an error will be triggered.
Recursive creating tmproot if it does not exist.

It would have been nice to import libite but it would have create a new dependency
Credits for mkpath: https://github.com/troglobit/libite/blob/master/src/makepath.c#L40

@alxnegrila
Copy link

Please reject it, created #222

@JonathonReinhart JonathonReinhart merged commit cbec08b into JonathonReinhart:master Aug 7, 2022
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