zkfilepath

package
v0.19.8 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package zkfilepath provides filepath utilities specialized to zookeeper.

Index

Constants

View Source
const (
	TimeFmt      = "2006-01-02 15:04:05"
	TimeFmtMicro = "2006-01-02 15:04:05.000000"
)

Variables

This section is empty.

Functions

func Clean

func Clean(zkPath string) string

Clean returns the shortest path name of a zookeeper path after trimming trailing slashes.

func Format

func Format(stat *zk.Stat, zkPath string, showFullPath bool, longListing bool) string

Format returns a path formatted to a canonical string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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