@tikoci/centrs
    Preparing search index...

    Function normalizeRemotePath

    • Normalize a RouterOS file path: accept a leading / for ergonomics but strip it (REST /file keys and SFTP paths want the bare name), and collapse any duplicate slashes. flash/x and /flash/x resolve to the same target.

      Parameters

      • path: string

      Returns string