Langium - v4.0.0
    Preparing search index...

    Variable joinPathConst

    joinPath: (uri: URI, ...paths: string[]) => URI = Utils.joinPath

    Type declaration

      • (uri: URI, ...paths: string[]): URI
      • Joins one or more input paths to the path of URI. '/' is used as the directory separation character.

        The resolved path will be normalized. That means:

        • all '..' and '.' segments are resolved.
        • multiple, sequential occurences of '/' are replaced by a single instance of '/'.
        • trailing separators are preserved.

        Parameters

        • uri: URI

          The input URI.

        • ...paths: string[]

          The paths to be joined with the path of URI.

        Returns URI

        A URI with the joined path. All other properties of the URI (scheme, authority, query, fragments, ...) will be taken from the input URI.