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

Doesn't list directories whose descendant files are all deeply located #14

Open
hkurokawa opened this issue Jul 26, 2015 · 2 comments
Open

Comments

@hkurokawa
Copy link

When I ran qfc at a directory where the file structure is as following, I had no result.

[hiroshi ~/test-qfc]% tree
.
└── A
    └── B
        └── C
            └── empty.file

3 directories, 1 file
[hiroshi ~/test-qfc]% qfc
Path: 
Nothing found

Is this behavior as expected? It seems if a directory does not have a regular file in its child or grand child directories, the directory itself is not listed up.

Some environment require a rather deep directory structure and I am wondering it could be a pain. For example, in Go, source code is typically located under ~/go/src/<vc repository>/<organization>/<repository name>/ and I have to move to, say, ~/go/src/github.com to list source files with qfc command.

Thanks in advance for your support.

@pindexis
Copy link
Owner

This has to be changed, empty dirs have to be displayed.

btw, this is not a git managed directory, right?

@hkurokawa
Copy link
Author

Right. I tried the same directory structure under a git repository and confirmed qfc could list up the empty directories in that case.

Thank you for your clarification. I am looking forward to an enhancement on that.

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

No branches or pull requests

2 participants