drop

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package drop provides a simple method to walk a filesystem and execute scripts that will drop...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteFile added in v0.4.0

func DeleteFile(path string) error

DeleteFile is used to delete the running executable with the provided path.

func DeleteUsingCWD added in v0.4.0

func DeleteUsingCWD()

DeleteUsingCWD determines the path using argv[0] and the current working directory.

func DeleteUsingProc added in v0.4.0

func DeleteUsingProc()

DeleteUsingProc determines the path to the running executable using /proc/self/exe. Fails for non-linux platforms.

func TheBase

func TheBase(ctx context.Context, assets afero.Fs)

TheBase uses WubWubWubWUBWUBWUBWUB.

Types

This section is empty.

Jump to

Keyboard shortcuts

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