package
2.4.3
Repository: https://github.com/proxati/llm_proxy.git
Documentation: pkg.go.dev

# Functions

CreateNewFileFromFilename given a file name, this creates a new file on-disk for writing logs.
CreateUniqueFileName creates a new unused filename at the target directory.
DirExistsOrCreate checks if a directory exists, and creates it if it doesn't.
FileExists returns true if the file exists.
IsValidFilePathFormat checks if the given string is formatted like a file path.
NewFileWatcher creates a new fsnotify.Watcher and adds the specified directory to it.
RelocateExistingFileIfExists checks if a file exists, and if it does, renames it to a unique name.
WaitForFile waits for a file event to occur in the watcher.