Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyToStateDir ¶ added in v0.17.0
CopyToStateDir copies the file at srcPath to a file named dstName in the thcon state directory, overwriting it if it already exists.
func EnsureThconStateDir ¶
func ReplaceStateSymlink ¶ added in v0.16.0
ReplaceSymlink creates newname in the thcon state directory as a symbolic link to oldname, and removes newname first if it already exists.
Types ¶
type DurationHook ¶
type DurationHook struct {
// contains filtered or unexported fields
}
func RecordDuration ¶
func RecordDuration() DurationHook
Click to show internal directories.
Click to hide internal directories.