exec: mount: fs: support readonly mounts

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-12-17 15:30:10 +01:00
parent e5de27f098
commit e7d8f17884
3 changed files with 49 additions and 8 deletions

View File

@@ -138,6 +138,11 @@ func (v *Value) Int64() (int64, error) {
return v.val.Int64()
}
// Proxy function to the underlying cue.Value
func (v *Value) Bool() (bool, error) {
return v.val.Bool()
}
// Proxy function to the underlying cue.Value
func (v *Value) Path() cue.Path {
return v.val.Path()