Class FileRegistry

Hierarchy (view full)

Constructors

Properties

mediaToPath: Map<number, string> = ...
mediaToReflection: Map<number, Models.Reflection> = ...
nameUsage: Map<string, number> = ...
names: Map<number, string> = ...
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