FileLayer record
public sealed record FileLayer The layer a file in a layered mount comes from, as ConversionContext.LayerOf gives it: the name and role its LayerPlan was given. It’s the layer whose copy wins, so a file a Garry’s Mod addon overrides comes from the addon’s layer.
if (context.LayerOf(entry.Path) is { Role: "addon" or "workshop" } layer)
context.Warn($"{entry.Path} comes from {layer.Name}.");
- Assembly
- EvilEngine.Conversion
- Commit
- 4ff877b1