Versions in this module Expand all Collapse all v0 v0.1.0 Jan 13, 2024 Changes in this version + func CppToHeader(path string) (string, error) + func DirExists(path string) (bool, error) + func StatFile(path string) (fs.FileInfo, error) + func WriteToFile(path string, r io.Reader) error + type LoadedFile struct + Data []byte + Lines []string + Path string + func LoadFileFromData(data []byte) (*LoadedFile, error) + func LoadFileFromPath(path string) (*LoadedFile, error) + type LoadedFilePosition struct + Char int + File *LoadedFile + Line int + func (lfp *LoadedFilePosition) Render(header, msg, footer string, contextSize int) string