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

Generic PlatformAdaptationLayer #4

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

atifaziz
Copy link

Refactoring PlatformAdaptationLayer to be a generic type so that globbing can be performed on a namespace of any type as long as there is a notion of directories/containers & files/items. The default implementation now specializes over FileSystemInfo rather than strings, making usage more efficient when working with large files (e.g. don't have to go and get attributes separately for further filtering of hidden files). This also enables unit tests to fake PlatformAdaptationLayer easily over a test hierarchy.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant