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

is_dir_empty() #320

Open
jennybc opened this issue Mar 23, 2021 · 1 comment
Open

is_dir_empty() #320

jennybc opened this issue Mar 23, 2021 · 1 comment
Labels
feature a feature request or enhancement

Comments

@jennybc
Copy link
Member

jennybc commented Mar 23, 2021

Although it is not hard to determine if a directory is empty, having an explicit function would be nice for code readability and feels related to the existing is_file_empty().

@gaborcsardi gaborcsardi added the feature a feature request or enhancement label Dec 8, 2021
@tin900
Copy link

tin900 commented Sep 12, 2024

Hi,

I also am interested in such a function and have created a PR.

PR: Add is_dir_empty function #472

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants