utils

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBreakRetry = errors.New("break retry")

Functions

func EnsureSockNotExists added in v0.1.1

func EnsureSockNotExists(ctx context.Context, sockPath string) error

func IsInSameDevice added in v0.1.1

func IsInSameDevice(path1, path2 string) (bool, error)

func WithRetry

func WithRetry(ctx context.Context, handle func() error, total int, delay time.Duration) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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