result

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProcessor

func NewProcessor(reader io.Reader, callback func(Record) error) error

Types

type Record

type Record struct {
	Type       string                      `json:"type" yaml:"type"`
	Path       string                      `json:"path" yaml:"path"`
	Link       string                      `json:"link,omitempty" yaml:"link,omitempty"`
	Size       int64                       `json:"size,omitempty" yaml:"size,omitempty"`
	Mode       int64                       `json:"mode" yaml:"mode"`
	Uid        int64                       `json:"uid" yaml:"uid"`
	Gid        int64                       `json:"gid" yaml:"gid"`
	Uname      string                      `json:"uname" yaml:"uname"`
	Gname      string                      `json:"gname" yaml:"gname"`
	ModTime    time.Time                   `json:"modtime" yaml:"modtime"`
	AccessTime *time.Time                  `json:"accesstime,omitempty" yaml:"accesstime,omitempty"`
	ChangeTime *time.Time                  `json:"changetime,omitempty" yaml:"changetime,omitempty"`
	Checksums  checksum.ImmutableChecksums `json:"checksums,omitempty" yaml:"checksums,omitempty"`
}

Jump to

Keyboard shortcuts

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