Documentation
¶
Overview ¶
Package platformdep contains platform-specific constants and helpers.
Index ¶
Constants ¶
View Source
const ( Mingw = false EnableColors = true )
Mingw reports whether the runtime looks like a Mingw/Cygwin terminal. Always false on Unix; only ever true on Windows.
View Source
const ( DirConfFilename = ".algernon" IgnoreFilename = ".ignore" HistoryFilename = ".algernon_history" )
Per-directory filenames recognized by Algernon.
View Source
const (
ExeExt = ""
)
ExeExt is the executable file extension for this platform.
Variables ¶
This section is empty.
Functions ¶
func IgnoreTerminalResizeSignal ¶
func IgnoreTerminalResizeSignal()
IgnoreTerminalResizeSignal configures UNIX related platforms to ignore SIGWINCH
func SetupSignals ¶ added in v1.17.3
SetupSignals installs a SIGUSR1 handler that invokes clearCacheFunction in a goroutine. printFunction is used to log the received signal.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.