file

package module
v0.0.0-...-74095ee Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: MIT Imports: 9 Imported by: 6

README

file

Documentation

Index

Constants

This section is empty.

Variables

Functions

func DirExists

func DirExists(filename string) bool

func DirIsEmpty

func DirIsEmpty(name string) (bool, error)

func FileExists

func FileExists(filename string) bool

func PathExists

func PathExists(filename string) bool

func ReadBytes

func ReadBytes(filename string) ([]byte, error)

Types

type Paths

type Paths map[string]Void

func CreatePaths

func CreatePaths(paths ...string) Paths

func (*Paths) Add

func (p *Paths) Add(items ...string) *Paths

func (*Paths) AddRelative

func (p *Paths) AddRelative(items ...string) *Paths

func (*Paths) Copy

func (s *Paths) Copy() Paths

func (*Paths) Discard

func (p *Paths) Discard(other Paths) *Paths

func (*Paths) Intersection

func (p *Paths) Intersection(other Paths) *Paths

func (*Paths) Union

func (p *Paths) Union(other Paths) *Paths

type Void

type Void struct{}
var Member Void

Jump to

Keyboard shortcuts

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