The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Package gamehandoff tells when a launched game has been handed to the
emulator or core that runs it. The process that loads a game opens its file,
reads it and usually closes it, and Core can watch those events without any
cooperation from the emulator: MiSTer's Main streams the game into the FPGA
core, and RetroArch under Batocera reads it as it starts the content.
Wait returns once events show the game handed over and Settle has passed
with no further activity on it. It returns nil without a handover when the
game is never opened within OpenWindow, and ctx's error if the wait is
cancelled first.
Watch reports opens, reads and closes of the file at path until ctx ends, then
closes the returned channel. A full channel drops no events: the watcher
blocks, and the kernel queues events meanwhile.
const (
// Open means a process opened the file. Open Kind = iota// Close means a process closed an open of the file. Close
// Access means a process read from the file. Access
)
type LaunchLog struct {
// contains filtered or unexported fields
}
LaunchLog remembers the last game Core launched. A probe waits only for a
game launched by Core: one already running when a tracker noticed it was
opened before anything could watch, so waiting on it would stall until the
open window ends.