util

package
v0.0.0-...-04c4f09 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(name string) bool

Exists reports whether the named file or directory exists.

func GetGitVersion

func GetGitVersion(docsDir string) (string, error)

GetGitVersion return the docs git version

func ListFiles

func ListFiles(dir string) ([]string, error)

ListFiles return a list of bluez api txt

func Mkdir

func Mkdir(dirpath string) error

Mkdir Create a dir if not exists

func ReadFile

func ReadFile(srcFile string) ([]byte, error)

ReadFile read a file content

Types

This section is empty.

Jump to

Keyboard shortcuts

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