filesystem

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureDirectoryExists

func EnsureDirectoryExists(path string) error

EnsureDirectoryExists creates a directory if it does not exist it returns an error if it fails

func EnsureSymbolicLink(source, target string) error

EnsureSymbolicLink removes the existing target and creates a new symbolic link it returns an error if it fails

func ExtractBinary

func ExtractBinary(binary []byte, destFile string) error

ExtractBinary extracts and installs a binary TODO: get the SHA of each binary and compare it to the expected SHA

func FileExists

func FileExists(path string) bool

FileExists checks if a file exists it returns true if the file exists, false otherwise

Types

This section is empty.

Jump to

Keyboard shortcuts

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