package
2.0.0+incompatible
Repository: https://github.com/writeas/writeas-cli.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
Exists returns whether or not the given file exists.
FindLine searches the given file for a line that begins with the given string.
ReadData returns file data as an array of lines from the file.
RemoveLine searches for the line that starts with the given value and, if found, removes it and saves the updated file.
TempFile creates a new temporary file in the directory dir with a name beginning with prefix and ending with ext, opens the file for reading and writing, and returns the resulting *os.File.
WriteData writes data to the given path, creating the file if necessary.