logutil

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindLatestLogFile

func FindLatestLogFile(dir string) (string, error)

FindLatestLogFile finds the most recently modified non-empty file in a directory. Prefers files with content over empty files.

func FindLogFileForWorkspace

func FindLogFileForWorkspace(ws *workspace.WorkspaceNode) (logFile string, logsDir string, err error)

FindLogFileForWorkspace determines the log file path for a given workspace. Returns the log file path and the logs directory path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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