osfs

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToForensicPath added in v0.4.0

func ToForensicPath(systemPath string) (name string, err error)

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)

func (*OSFS) OpenSystemPath added in v0.4.0

func (fs *OSFS) OpenSystemPath(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)

type PseudoRoot added in v0.4.0

type PseudoRoot struct {
	forensicfs.ForensicFolderDefaults
}

func (*PseudoRoot) Attributes added in v0.4.0

func (*PseudoRoot) Attributes() (attrs map[string]interface{})

func (*PseudoRoot) Name added in v0.4.0

func (*PseudoRoot) Name() (name string)

func (*PseudoRoot) Readdirnames added in v0.4.0

func (*PseudoRoot) Readdirnames(n int) (partitions []string, err error)

Jump to

Keyboard shortcuts

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