fsutil

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: BSD-3-Clause, BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UnionFS

type UnionFS []fs.FS

A UnionFS is an FS presenting the union of the file systems in the slice. If multiple file systems provide a particular file, Open uses the FS listed earlier in the slice. If multiple file systems provide a particular directory, ReadDir presents the concatenation of all the directories listed in the slice (with duplicates removed).

func (UnionFS) Open

func (fsys UnionFS) Open(name string) (fs.File, error)

func (UnionFS) ReadDir

func (fsys UnionFS) ReadDir(name string) ([]fs.DirEntry, error)

Jump to

Keyboard shortcuts

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