From cd9b534d6b1d432d3c997ccc5b14f630afb9dda6 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 28 Feb 2026 20:18:30 +0900 Subject: container: improve documentation This change removes inconsistencies collected over time in this package. Signed-off-by: Ophestra --- container/vfs/mangle.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'container/vfs/mangle.go') diff --git a/container/vfs/mangle.go b/container/vfs/mangle.go index 83aba589..af7a0463 100644 --- a/container/vfs/mangle.go +++ b/container/vfs/mangle.go @@ -2,6 +2,8 @@ package vfs import "strings" +// Unmangle reverses mangling of strings done by the kernel. Its behaviour is +// consistent with the equivalent function in util-linux. func Unmangle(s string) string { if !strings.ContainsRune(s, '\\') { return s -- cgit v1.3.1