osfs

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 104

Documentation

Overview

Package osfs maps the operating system filesystem to a virtual filesystem.

Index

Constants

This section is empty.

Variables

View Source
var OsFs = &osFileSystem{}

Functions

func IsOsFileSystem added in v0.4.4

func IsOsFileSystem(fs vfs.FileSystem) bool

func New

func New() vfs.FileSystem

func NewTempFileSystem

func NewTempFileSystem() (vfs.FileSystem, error)

Types

type OsFsCheck added in v0.4.4

type OsFsCheck interface {
	IsOsFileSystem() bool
}

OsFsCheck should be implemented by forwarding wrappers to check for an OS Filesystem implementation.

Jump to

Keyboard shortcuts

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