-
Notifications
You must be signed in to change notification settings - Fork 97
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
Optionally ensure path exists #71
Comments
elbenfreund
added a commit
to projecthamster/hamster-cli
that referenced
this issue
Apr 16, 2016
We rely on ``appdirs`` to provide us with default directory names specific to the platform used. This itself does not ensure that those files actually exist. We provide some logic wrapping the original functionality to deal with this. An isse raising this topic has been [filed](ActiveState/appdirs#71) with ``appdirs``.
elbenfreund
added a commit
to projecthamster/hamster-cli
that referenced
this issue
Apr 16, 2016
We rely on ``appdirs`` to provide us with default directory names specific to the platform used. This itself does not ensure that those files actually exist. We provide some logic wrapping the original functionality to deal with this. An isse raising this topic has been [filed](ActiveState/appdirs#71) with ``appdirs``.
elbenfreund
added a commit
to projecthamster/hamster-cli
that referenced
this issue
Apr 16, 2016
We rely on ``appdirs`` to provide us with default directory names specific to the platform used. This itself does not ensure that those files actually exist. We provide some logic wrapping the original functionality to deal with this. An isse raising this topic has been [filed](ActiveState/appdirs#71) with ``appdirs``.
elbenfreund
added a commit
to projecthamster/hamster-cli
that referenced
this issue
Apr 16, 2016
We rely on ``appdirs`` to provide us with default directory names specific to the platform used. This itself does not ensure that those files actually exist. We provide some logic wrapping the original functionality to deal with this. An isse raising this topic has been [filed](ActiveState/appdirs#71) with ``appdirs``.
@zoofood Seeing that the project is revitalizing, is this something that you would be interested in as a PR? |
it's been three years. I hope there should be at least a response. |
Unfortunately there was none :( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems a common use case that one wants to use the paths returned by
appdirs
. This usually requires the client to check its existence and maybe creating them.As this seems to be a general enough situation, do you think it would be feasible to pass
appdirs
an otionalensure
orcreate
argument that will causeappdirs
to implement this kind of logic in one central place?The text was updated successfully, but these errors were encountered: