Skip to content
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

Create "Dir" API method "get_subdir" #25

Closed
manoss96 opened this issue Apr 6, 2023 · 0 comments · Fixed by #26
Closed

Create "Dir" API method "get_subdir" #25

manoss96 opened this issue Apr 6, 2023 · 0 comments · Fixed by #26
Assignees
Labels
enhancement New feature or request

Comments

@manoss96
Copy link
Owner

manoss96 commented Apr 6, 2023

Alongside method get_file, there should also be a get_subdir method in order to be able to access subdirectories straight from a directory.

local_dir: LocalDir = LocalDir(path="path/to/dir")

subdir: LocalDir = local_dir.get_subdir("subdir")
@manoss96 manoss96 self-assigned this Apr 6, 2023
@manoss96 manoss96 added the enhancement New feature or request label Apr 6, 2023
@manoss96 manoss96 changed the title Create "Dir" API method "get_dir" Create "Dir" API method "get_subdir" Apr 10, 2023
@manoss96 manoss96 linked a pull request Apr 10, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant