diff options
Diffstat (limited to 'internal/vfs/root.go')
-rw-r--r-- | internal/vfs/root.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/vfs/root.go b/internal/vfs/root.go index 9c7528b3..1a2e9ccd 100644 --- a/internal/vfs/root.go +++ b/internal/vfs/root.go @@ -16,6 +16,7 @@ type Root interface { Lstat(ctx context.Context, name string) (os.FileInfo, error) Readlink(ctx context.Context, name string) (string, error) Open(ctx context.Context, name string) (File, error) + IsCompressed(name string) (bool, error) } type instrumentedRoot struct { @@ -68,3 +69,7 @@ func (i *instrumentedRoot) Open(ctx context.Context, name string) (File, error) return f, err } + +func (i *instrumentedRoot) IsCompressed(name string) (bool, error) { + return i.root.IsCompressed(name) +} |