KC's Workspace
    Preparing search index...
    Index

    Constructors

    Properties

    mediaToPath: Map<FileId, NormalizedPath>
    mediaToReflection: Map<FileId, ReflectionId>
    names: Map<FileId, string>
    nameUsage: Map<string, number>
    nextId: number
    pathToMedia: Map<NormalizedPath, FileId>
    reflectionToPath: Map<ReflectionId, NormalizedPath>

    Methods

    • Revive a file registry from disc. Note that in the packages context this may be called multiple times on a single object, and should merge in files from the other registries.

      Parameters

      Returns void

    • Parameters

      Returns string | undefined

    • Returns ReadonlyMap<string, string>

    • Parameters

      Returns string | undefined

    • Parameters

      Returns { anchor: string | undefined; target: FileId } | undefined

    • Parameters

      Returns { anchor: string | undefined; target: FileId }

    • Registers the specified path as the canonical file for this reflection

      Parameters

      Returns void

    • Registers the specified path as a path which should be resolved to the specified reflection. A reflection may be associated with multiple paths.

      Parameters

      Returns void

    • Parameters

      Returns void

    • Parameters

      Returns string | undefined