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.
Search an APFS volume catalog without walking every directory:
go run ./examples/kernel/searchfs -v . -name go -f
go run ./examples/kernel/searchfs -v / -name Applications -e -d
The example demonstrates the bounded searchfs(2) session: partial results
are emitted before handling EAGAIN, EBUSY restarts the catalog search, and
ENOBUFS grows the return buffer. It resolves returned file IDs with
fsgetpath(2). Both calls are SDK-declared but not generated in this tree, so
the small private binding remains local to the example.
Command searchfs searches a volume catalog with searchfs(2).
It is intentionally a small example of the searchfs session protocol. The
syscall is not generated yet, so the unexported mirrors below are kept next
to the example and resolved from libSystem with purego.