Class FileRegistry

Hierarchy (view full)

Constructors

Properties

mediaToPath: Map<number, string> = ...
mediaToReflection: Map<number, Models.Reflection> = ...
names: Map<number, string> = ...
nameUsage: Map<string, number> = ...
nextId: number = 1
pathToMedia: Map<string, number> = ...
reflectionToPath: Map<Models.Reflection, string> = ...

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.

    Returns void

  • Parameters

    • sourcePath: string
    • relativePath: string

    Returns undefined | number