docs: publish Tend Compose continuity evidence
Export the reviewed allowlisted snapshot from private source commit 07c1655921f21ee5e4fc4d85639d199e8867b17d. This records the Docker Compose activation, schema-compatible rollback, and stateful migration resource findings from Observatory Preview 19 dogfooding. AI-Assisted: OpenAI Codex Signed-off-by: Cole Speelman <crspeelman@gmail.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
//go:build !linux
|
||||
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
package deploy
|
||||
|
||||
import "os"
|
||||
|
||||
type fileIdentity struct{ mode os.FileMode }
|
||||
|
||||
func identityFor(info os.FileInfo, fallback os.FileMode) fileIdentity {
|
||||
if info != nil {
|
||||
return fileIdentity{mode: info.Mode().Perm()}
|
||||
}
|
||||
return fileIdentity{mode: fallback}
|
||||
}
|
||||
func applyIdentity(file *os.File, identity fileIdentity) error { return file.Chmod(identity.mode) }
|
||||
Reference in New Issue
Block a user