Application Data is recursive
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 4.4k
- Forks
- 993
- Avg merge
- 9d 21h
- Merged PRs (30d)
- 1
Description
I am running the SSH Client on my Windows box. I wrote an application that recursively reads the entire directory structure so I can calculate each folder size. By default the home directory is the current users user directory. When I scan the directory the library returns the application data over and over again. For example:
AppData/Local/Application Data/Application Data/Application Data/Application Data/Application Data/
I looked at the flags and the symbolic link flag is not set. Windows Explorer does not have this issue. The 'AppData/Local/Application Data' should be flagged as symbolic or another flag that shows this is just an alias and not a real directory in that way the recursion can check the flag and skip the alias folder.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source file or test. Start by tracing how SSH.NET represents Windows directory entries and symbolic-link metadata during recursive scans, then reproduce the AppData/Local/Application Data alias on Windows. Done means the alias is distinguishable from a real directory so callers can avoid recursing into it, with a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100