Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" CommitSHA = "unknown" )
Functions ¶
func CopyFileObject ¶
CopyFileObject attempts to place a "file object" onto the clipboard. - On macOS, it calls AppleScript to set the clipboard to a POSIX file reference. - On non-macOS, it does nothing.
func EstimateTokens ¶
EstimateTokens provides a rough estimate of the number of tokens in the given text. This is based on the heuristic that one token is approximately four characters.
func IsHiddenPath ¶
func IsTextFile ¶
IsTextFile returns true if the file at filePath appears to be a text file.
func VersionInfo ¶
func VersionInfo() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.