From 584ce3da685352847e5c6189e5050bd5cb0307e9 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 7 Oct 2025 21:38:31 +0900 Subject: container/bits: move bind bits This allows referring to the bits without importing container. Signed-off-by: Ophestra --- hst/fsbind.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'hst/fsbind.go') diff --git a/hst/fsbind.go b/hst/fsbind.go index 8b7b5fe8..f94e467b 100644 --- a/hst/fsbind.go +++ b/hst/fsbind.go @@ -4,7 +4,7 @@ import ( "encoding/gob" "strings" - "hakurei.app/container" + "hakurei.app/container/bits" "hakurei.app/container/check" "hakurei.app/container/fhs" ) @@ -96,16 +96,16 @@ func (b *FSBind) Apply(z *ApplyState) { } var flags int if b.Write { - flags |= container.BindWritable + flags |= bits.BindWritable } if b.Device { - flags |= container.BindDevice | container.BindWritable + flags |= bits.BindDevice | bits.BindWritable } if b.Ensure { - flags |= container.BindEnsure + flags |= bits.BindEnsure } if b.Optional { - flags |= container.BindOptional + flags |= bits.BindOptional } switch { -- cgit v1.3.1