utils

package
v0.0.0-...-1414ade Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const APIFallbackAddr = "127.0.0.1:56792"

Variables

View Source
var FindDirsConfig = finddirs.AppConfig{
	Subdir:      "kopyaship",
	SubdirCache: "cache",
}
View Source
var RunningOnGitHubActions = os.Getenv("GITHUB_ACTIONS") == "true"

Functions

func ConvertToCamelCase

func ConvertToCamelCase(name string) string

func ConvertToPascalCase

func ConvertToPascalCase(name string) string

func DirSize

func DirSize(path string) (int64, error)

func MustNewDebugLogger

func MustNewDebugLogger() *zap.Logger

func NewDebugLogger

func NewDebugLogger() (*zap.Logger, error)

func RandString

func RandString(n int) string

func StartsWithDriveLetter

func StartsWithDriveLetter(path string) bool

func StripDriveLetter

func StripDriveLetter(path string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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