common

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FS_IMMUTABLE_FL int = C.FS_IMMUTABLE_FL
	FS_APPEND_FL    int = C.FS_APPEND_FL
	FS_NOATIME_FL   int = C.FS_NOATIME_FL
)

Variables

View Source
var (
	App = kingpin.New("debug-this-motherfucker", "A collection of mind fucking trolling hacks")
)

Explanations plugins supported

Functions

func ChAttr

func ChAttr(file *os.File, attributes int) error

func CopyFile

func CopyFile(src string, dest string) error

func IsFileExists

func IsFileExists(file string) bool

IsFileExists check if file exists

func RegisterPlugin

func RegisterPlugin(name string, explanation string, action func(*kingpin.ParseContext) error) *kingpin.CmdClause

RegisterPlugin registers a plugin

func StringInSlice

func StringInSlice(slice []string, s string) bool

StringInSlice check if string in slice

Types

This section is empty.

Jump to

Keyboard shortcuts

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