src

package
v0.0.0-...-c29b6bf Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OsHelper

type OsHelper struct{}

func (*OsHelper) Clean

func (o *OsHelper) Clean(dir string) error

Removes all subdirectories and it's contents from directory.

func (*OsHelper) Execute

func (o *OsHelper) Execute(cmd string) error

Executes bash call and loggs output to logrus.

func (*OsHelper) FormDb

func (o *OsHelper) FormDb(yay string, pkg string, repo string) error

func (*OsHelper) Move

func (o *OsHelper) Move(src string, dst string) error

Moves all .zst files from one dir to another.

func (*OsHelper) Search

func (o *OsHelper) Search(dir string, pattern string) ([]string, error)

Searches for all .zst files in dir and returns back list.

Jump to

Keyboard shortcuts

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