Version: v0.14.0 Latest Latest

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

Go to latest
Published: Jun 19, 2023 License: Apache-2.0 Imports: 1 Imported by: 47



Package filesys provides a file system abstraction, a subset of that provided by, with an on-disk and in-memory representation.

Deprecated: use instead.



View Source
const (
	// Separator is deprecated, use
	Separator = filesys.Separator
	// SelfDir is deprecated, use
	SelfDir = filesys.SelfDir
	// ParentDir is deprecated, use
	ParentDir = filesys.ParentDir


This section is empty.


func InsertPathPart added in v0.3.3

func InsertPathPart(path string, pos int, part string) string

InsertPathPart is deprecated, use

func NewTmpConfirmedDir

func NewTmpConfirmedDir() (filesys.ConfirmedDir, error)

NewTmpConfirmedDir is deprecated, use

func PathJoin added in v0.3.3

func PathJoin(incoming []string) string

PathJoin is deprecated, use

func PathSplit added in v0.3.3

func PathSplit(incoming string) []string

PathSplit is deprecated, use

func RootedPath

func RootedPath(elem ...string) string

RootedPath is deprecated, use

func StripLeadingSeps added in v0.3.0

func StripLeadingSeps(s string) string

StripLeadingSeps is deprecated, use

func StripTrailingSeps added in v0.3.0

func StripTrailingSeps(s string) string

StripTrailingSeps is deprecated, use


type ConfirmedDir

type ConfirmedDir = filesys.ConfirmedDir

ConfirmedDir is deprecated, use

type FileSystem

type FileSystem = filesys.FileSystem

FileSystem is deprecated, use

func MakeEmptyDirInMemory added in v0.3.0

func MakeEmptyDirInMemory() FileSystem

MakeEmptyDirInMemory is deprecated, use

func MakeFsInMemory

func MakeFsInMemory() FileSystem

MakeFsInMemory is deprecated, use

func MakeFsOnDisk

func MakeFsOnDisk() FileSystem

MakeFsOnDisk is deprecated, use

type FileSystemOrOnDisk added in v0.8.11

type FileSystemOrOnDisk = filesys.FileSystemOrOnDisk

FileSystemOrOnDisk is deprecated, use

Jump to

Keyboard shortcuts

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