util

package
v0.0.0-...-f2b2088 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package util .

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(src, dst string) error

CopyFile copy file from src to dst

func ExpandUserHomeDir

func ExpandUserHomeDir(path string) string

ExpandUserHomeDir check whether path starts with tilde("~") If it is, expand home dir Otherwise, just return

func GetCIPath

func GetCIPath(cwd string) string

GetCIPath .

func MD5CheckSum

func MD5CheckSum(path string) (string, error)

MD5CheckSum get md5 checksum given file path

func UUID

func UUID() string

UUID generates a string UUID. Wrap of google/uuid

Types

This section is empty.

Jump to

Keyboard shortcuts

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