filesystem

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2025 License: MIT Imports: 3 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

flam-filesystem

Go-linter Go-test

flam-filsystem is a flam-in-go extension to provide a afero fs proxy module

Documentation

Index

Constants

View Source
const (
	DiskCreatorGroup = "flam.filesystem.disks.creator"
	DiskDriverOS     = "flam.filesystem.disks.driver.os"
	DiskDriverMemory = "flam.filesystem.disks.driver.memory"

	PathDisks = "flam.filesystem.disks"
)

Variables

This section is empty.

Functions

func NewProvider

func NewProvider() flam.Provider

Types

type Disk

type Disk interface {
	afero.Fs
}

type DiskCreator

type DiskCreator interface {
	Accept(config flam.Bag) bool
	Create(config flam.Bag) (Disk, error)
}

type Facade

type Facade interface {
	HasDisk(id string) bool
	ListDisks() []string
	GetDisk(id string) (Disk, error)
	AddDisk(id string, disk Disk) error
}

type File

type File interface {
	afero.File
}

Jump to

Keyboard shortcuts

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