Documentation
¶
Index ¶
- func FilesystemToPath(fsRoot, fsPath string) string
- func FormatLexInt(v int64) string
- func FormatLogSegment(s *index.LogSegment, lvl int, pending bool) string
- func ParseLexInt(v string) (int64, error)
- func ParseLogSegment(p string) (*index.LogSegment, int, error)
- func PathToFilesystem(fsRoot string, virtualPath string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilesystemToPath ¶
FilesystemToPath converts a filesystem directory path back to a virtual document path. Example: "/logd/paths/children/proc/children/processes" -> "/proc/processes"
func FormatLexInt ¶
func FormatLogSegment ¶
func FormatLogSegment(s *index.LogSegment, lvl int, pending bool) string
func ParseLexInt ¶
func ParseLogSegment ¶
func ParseLogSegment(p string) (*index.LogSegment, int, error)
ParseLogSegment gets an index.LogSegment and a compaction level from a filename path
func PathToFilesystem ¶
PathToFilesystem converts a virtual document path to a filesystem directory path. Example: "/proc/processes" -> "/logd/paths/children/proc/children/processes"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.