osfileinfos

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection

type Collection struct {
	Items *[]os.FileInfo
}

func New

func New(infos *[]os.FileInfo) *Collection

func NewUsingCap

func NewUsingCap(cap int) *Collection

func (*Collection) Add

func (receiver *Collection) Add(info os.FileInfo, err error) error

func (*Collection) AddInfo

func (receiver *Collection) AddInfo(info os.FileInfo) *Collection

func (*Collection) HasItems

func (receiver *Collection) HasItems() bool

func (*Collection) IsEmpty

func (receiver *Collection) IsEmpty() bool

func (*Collection) Length

func (receiver *Collection) Length() int

Jump to

Keyboard shortcuts

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