CoAgent8
    Preparing search index...

    Function canonicalPath

    • Canonicalizes workspace ownership identifiers, including Windows case folding.

      Parameters

      • Optionalvalue: string | null

        Workspace path; absent values map to the empty identifier.

      Returns string

      A resolved real path when available; for a path that no longer exists, the real path of its nearest existing ancestor followed by the missing segments.

      A deleted workspace thus keeps the identity it had while it existed, also below a symlink (/var on macOS) or a Windows 8.3 short name. This does not authorize access.