phosphor-fsloader
Watched-directory + metadata-pack loader skeleton.
Generic filesystem-backed registry skeleton: directory walking, file watching, debounced rescans, user-wins-over-system layering, plus a pluggable IScanStrategy. DirectoryLoader handles the flat-*.json case (used by curve and profile loaders); MetadataPackScanStrategy<Payload> plus MetadataPackRegistryBase handle the subdirectory-with-metadata.json case (used by the shader and animation-shader registries). Renamed from phosphor-jsonloader once the metadata-pack primitives moved in.
Key types
WatchedDirectorySetIScanStrategyDirectoryLoader*.json specialisation paired with IDirectoryLoaderSink.MetadataPackScanStrategymetadata.json scan strategy, templated on payload.MetadataPackRegistryBaseMetadataPackScanStrategy.ParsedEntrystd::any payload.Dependencies
QtCore
See also
References
- Library overview → The library's design notes in the API reference.
- Namespace index → Every symbol under
PhosphorFsLoader::. - API reference → Classes, namespaces and D-Bus interfaces across every library.