A default resolver that uses a given reference path and a contents manager.

Implements

Constructors

Accessors

Methods

  • Whether the URL should be handled by the resolver or not.

    Parameters

    • url: string
    • allowRoot: boolean = false

      Whether the paths starting at Unix-style filesystem root (/) are permitted.

      This is similar to the isLocal check in URLExt, but it also checks whether the path points to any of the IDrives that may be registered with the contents manager.

    Returns boolean