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

Implements

Constructors

Properties

_contents: Contents.IManager
_path: string

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.

      Notes

      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