osfs

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: AGPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OSFS

type OSFS struct {
	afero.OsFs
}

func New

func New() *OSFS

func (*OSFS) Open

func (fs *OSFS) Open(name string) (item forensicfs.ForensicItem, err error)

type OSFSItem

type OSFSItem struct {
	afero.File
	// contains filtered or unexported fields
}

func (*OSFSItem) Attributes

func (i *OSFSItem) Attributes() map[string]interface{}

func (*OSFSItem) IsDir

func (i *OSFSItem) IsDir() (dir bool)

func (*OSFSItem) Readdirnames

func (i *OSFSItem) Readdirnames(n int) (items []string, err error)

func (*OSFSItem) Size

func (i *OSFSItem) Size() (s int64)

Jump to

Keyboard shortcuts

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