util

package
v0.0.0-...-b702281 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBlockDevice

func IsBlockDevice(fullPath string) (bool, error)

IsBlockDevice checks if the given path is a block device

func ParseEndpoint

func ParseEndpoint(endpoint string) (string, string, error)

func ParseEndpointNoRemove

func ParseEndpointNoRemove(endpoint string) (string, string, error)

Parses the endpoint but doesn't remove the unix socket file if the endoint is a unix socket.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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