tarlatan
    Preparing search index...

    Function liesUnder

    • Whether ref lies under prefix, such as refs/tarlatan/<sessionId>/, after both are normalized as paths (review F3A): the ref's segments begin with the prefix's and hold at least one more. A finished close deletes only such names, so no name that climbs out of the session's prefix with .. or reads under it only before normalization is deleted.

      Parameters

      • prefix: string
      • ref: string

      Returns boolean