snapdir

package
v0.0.0-...-41dd8df Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2016 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SnapDir

type SnapDir struct {
	// contains filtered or unexported fields
}

SnapDir is the snapdir based snap.

func New

func New(path string) *SnapDir

New returns a new snap directory container.

func (*SnapDir) Install

func (s *SnapDir) Install(targetPath, mountDir string) error

func (*SnapDir) ListDir

func (s *SnapDir) ListDir(path string) ([]string, error)

func (*SnapDir) Path

func (s *SnapDir) Path() string

Path returns the path of the backing container.

func (*SnapDir) ReadFile

func (s *SnapDir) ReadFile(file string) (content []byte, err error)

Jump to

Keyboard shortcuts

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