Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

FileSystem.IsPathUnderRoot should be calling PathUtils.PathStartsWith (or simply not exist) #1327

Open

Description

#1322 fixed some path prefix behavior, but FileSystem wasn't changed (as it didn't use the old extension method).

Arguably, IFileSystem should not have IsPathUnderRoot or StringComparison at all. Those should be relegated to PathUtils, where they're essentially already defined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions