utils

package
v0.0.0-...-11149d6 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package utils This package defines utility functions for use in magefile.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(path string) bool

Exists checks if a file exists.

func IsWindows

func IsWindows() bool

IsWindows If the execution environment is Windows, return true.

func PathExists

func PathExists(path string) bool

PathExists checks if a path exists.

func RemoveDebugBinFiles

func RemoveDebugBinFiles(path string) error

RemoveDebugBinFiles removes all __debug_bin files.

func RepoRoot

func RepoRoot() (string, error)

RepoRoot Returns the path to the repository root.

Types

This section is empty.

Jump to

Keyboard shortcuts

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