Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

DirectoryInfo using searchoption #226

Closed
aartatimago opened this issue Jun 7, 2016 · 2 comments
Closed

DirectoryInfo using searchoption #226

aartatimago opened this issue Jun 7, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@aartatimago
Copy link

Hello,
I ran into problems with a too long full path name, and then I discovered this project.
So I'm testing it and it looks like that I have ran into a slight problem.

long lnFileSize = new DirecoryInfo(psDir).GetFiles("*.ps", System.IO.SearchOption.TopDirectoryOnly).Sum(file => file.Length);

In a directory it also counts the files with a extension ".eps", when I use the standard system.io library these files are not counted.

Looking forward to your answer.

@Yomodo
Copy link
Collaborator

Yomodo commented Jul 3, 2016

The search filter used is not a comprehensive implementation, which unfortunately can result in false positives.

@Yomodo
Copy link
Collaborator

Yomodo commented Aug 16, 2016

From the looks of it, this will be implemented.

@Yomodo Yomodo closed this as completed in 2af6932 Aug 16, 2016
@Yomodo Yomodo self-assigned this Aug 24, 2016
@Yomodo Yomodo added this to the Release 2.1 milestone Aug 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants