Skip to content

Clarify nocase documentation (specifically when setting it to not match OS behavior) #569

@ohadschn

Description

@ohadschn

The docs state:

nocase should only be explicitly set when it is known that the filesystem's case sensitivity differs from the platform default. If set true on case-sensitive file systems, or false on case-insensitive file systems, then the walk may return more or less results than expected.

  1. It's not clear what is meant by may return more or less results than expected - perhaps some example could be provided?
  2. Commit 02b76fd (following nocase:true not working properly on linux #526) suggests that explicitly setting nocase as to not match the OS behavior, even when it is known that the filesystem's case sensitivity differs from the platform default, is a legitimate scenario. If that is indeed the case, the wording above would ideally reflect that (as I read it, it currently suggests the opposite).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions