container: export overlay escape
All checks were successful
Test / Sandbox (push) Successful in 2m21s
Test / Hakurei (push) Successful in 3m23s
Test / Sandbox (race detector) (push) Successful in 4m22s
Test / Hpkg (push) Successful in 4m14s
Test / Hakurei (race detector) (push) Successful in 5m8s
Test / Flake checks (push) Successful in 1m22s
Test / Create distribution (push) Successful in 37s

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-08-14 23:44:11 +09:00
parent 0e543a58b3
commit ba3227bf15
4 changed files with 8 additions and 8 deletions

View File

@@ -214,8 +214,8 @@ func parentPerm(perm os.FileMode) os.FileMode {
return os.FileMode(pperm)
}
// escapeOverlayDataSegment escapes a string for formatting into the data argument of an overlay mount call.
func escapeOverlayDataSegment(s string) string {
// EscapeOverlayDataSegment escapes a string for formatting into the data argument of an overlay mount call.
func EscapeOverlayDataSegment(s string) string {
if s == zeroString {
return zeroString
}