Skip to content

Conversation

jaraco
Copy link
Member

@jaraco jaraco commented Jul 3, 2022

Fixes #228

  • Add _common._as_tree to demonstrate a directory of resources.
  • Remove type hints as they're causing trouble.
  • Allow as_file to return a context manager for a directory or a file as needed.
  • Rewrite _temp_dir so that it produces a directory of the same name as the input path.

@jaraco jaraco marked this pull request as draft July 3, 2022 19:32
@jaraco jaraco marked this pull request as ready for review July 3, 2022 23:12
@jaraco jaraco merged commit 3110294 into main Jul 22, 2022
@jaraco jaraco deleted the feature/228-directory-of-resources branch July 22, 2022 16:37
@jaraco
Copy link
Member Author

jaraco commented Oct 5, 2022

Released in v5.9.0.

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.

Add support for a directory of resources
1 participant