From 1f0226f7e01822a2a5b37d8626b59b7b6f4d0144 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 7 Oct 2025 23:56:19 +0900 Subject: container/check: relocate overlay escape This is used in hst to format strings. Signed-off-by: Ophestra --- container/path_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'container/path_test.go') diff --git a/container/path_test.go b/container/path_test.go index 746e70fe..5af4c821 100644 --- a/container/path_test.go +++ b/container/path_test.go @@ -10,6 +10,7 @@ import ( "testing" "unsafe" + "hakurei.app/container/check" "hakurei.app/container/vfs" ) @@ -49,8 +50,8 @@ func TestToHost(t *testing.T) { } } -// InternalToHostOvlEscape exports toHost passed to EscapeOverlayDataSegment. -func InternalToHostOvlEscape(s string) string { return EscapeOverlayDataSegment(toHost(s)) } +// InternalToHostOvlEscape exports toHost passed to [check.EscapeOverlayDataSegment]. +func InternalToHostOvlEscape(s string) string { return check.EscapeOverlayDataSegment(toHost(s)) } func TestCreateFile(t *testing.T) { t.Run("nonexistent", func(t *testing.T) { -- cgit v1.3.1