Skip to content

Path:hasextension always returns true #2407

@Freddy404

Description

@Freddy404

Let's say there we have the following folder structure:

  • <Archive Root>
    • kmos
      • base
        • kmos.ks

Enviroment

  • KSP 1.6 (I know it's not offically supported yet, but kOS seems to work in principle, and I don't expect KSP to break file system access...)
  • Windows 10
  • kOS should be equivalent to develop for this, actually build from Garek33:dev-2394 (up-to-date with develop, plus Fix #2394 - Expose terminal cursor #2397 )

Expected Behaviour

  • path("kmos/base"):hasextension returns false
  • path("kmos/base/kmos"):hasextension returns false
  • path("kmos/base/kmos.ks"):hasextension returns true

Tested Behaviour

  • path("kmos/base"):hasextension returns true
  • path("kmos/base/kmos"):hasextension returns true
  • path("kmos/base/kmos.ks"):hasextension returns true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions