pkg

package
v0.0.0-...-da295ce Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2025 License: GPL-3.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileAppend

func FileAppend(name string, b []byte) error

append to file with fs.ErrNotExist

WARN: perhaps behaviour with async

func GitRemoteURLGet0

func GitRemoteURLGet0(r *git.Repository, remote string) (*url.URL, error)

func OpenFileExisting

func OpenFileExisting(name string, flag int) (*os.File, error)

os.OpenFile, but fs.ErrNotExist

func PWDIfEmpty

func PWDIfEmpty(path string) (string, error)

returns path, or $PWD if path empty

func RenameNoOverwrite

func RenameNoOverwrite(oldpath, newpath string) error

os.Rename(), but newpath:fs.ErrExist

Types

This section is empty.

Directories

Path Synopsis
encoding

Jump to

Keyboard shortcuts

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