composefs

package
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Overview

Package composefs provides a virtual filesystem implementation for orchestrating multiple other virtual filesystems to a single one.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComposedFileSystem

type ComposedFileSystem struct {
	*utils.MappedFileSystem
	// contains filtered or unexported fields
}

func New

func New(root vfs.FileSystem, temp ...string) *ComposedFileSystem

func (*ComposedFileSystem) Cleanup

func (c *ComposedFileSystem) Cleanup() error

func (*ComposedFileSystem) FSTempDir

func (c *ComposedFileSystem) FSTempDir() string

func (*ComposedFileSystem) Mount

func (c *ComposedFileSystem) Mount(path string, fs vfs.FileSystem) error

func (*ComposedFileSystem) MountTempDir

func (c *ComposedFileSystem) MountTempDir(path string) (string, error)

func (*ComposedFileSystem) MountTempFileSysten

func (c *ComposedFileSystem) MountTempFileSysten(path string, fs vfs.FileSystem) (string, error)

func (*ComposedFileSystem) Name

func (c *ComposedFileSystem) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL