remove in metadata cid_* to put in the cids/ set

This commit is contained in:
Pierre
2026-05-31 11:41:32 +02:00
parent 94ad0c240b
commit f8a10091b8
18 changed files with 1497 additions and 563 deletions
+12
View File
@@ -104,6 +104,18 @@ func (c *Config) WatchersFilePath() string {
return c.MetaCorePath + "/watchers.json"
}
// IdentityDir returns the directory holding the User Data Layer signing
// identity (created by the dashboard's Identity menu — never auto-generated
// at startup).
func (c *Config) IdentityDir() string {
return c.MetaCorePath + "/identity"
}
// IdentityFilePath returns the path to the persisted identity JSON.
func (c *Config) IdentityFilePath() string {
return c.IdentityDir() + "/identity.json"
}
func getEnv(key, defaultValue string) string {
if value := os.Getenv(key); value != "" {
return value