Brokkr C#: snapshot lists as whole values; C# pin to CultLib 9fc4bdda; snapshots reach disk again (#18)
This commit is contained in:
parent
282d9eff7a
commit
00b38e8e09
8 changed files with 110 additions and 27 deletions
|
|
@ -176,8 +176,12 @@ internal static class Cli
|
|||
$"Timed out waiting for Brokkr receipt '{receiptKey.Value}'; the intent is still in the store: a running editor with the sink on will run it, but if the operator enables the sink after now it expires unrun.{why}");
|
||||
}
|
||||
|
||||
private static BrokkrHostSnapshot? ReadHostSnapshot(CultCache cache) =>
|
||||
cache.TryGet(new CultRecordKey("unity/host/current"), out BrokkrHostSnapshot? host) ? host : null;
|
||||
private static BrokkrHostSnapshot? ReadHostSnapshot(CultCache cache)
|
||||
{
|
||||
if (!cache.TryGet(new CultRecordKey("unity/host/current"), out BrokkrHostSnapshot? host)) return null;
|
||||
host.RefuseDefaultLists();
|
||||
return host;
|
||||
}
|
||||
|
||||
private static Dictionary<string, string> Parse(string[] args)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue