Skip to main content

Module indexer

Module indexer 

Source
Expand description

Index jobs run in a child comindly index-job, so the memory a run takes goes back when it ends.

Structs§

Spec
What the child indexes, sent on its stdin so no secret shows in its arguments or environment.

Constants§

COMMAND
The hidden subcommand a server starts for each index job.

Functions§

child
The child’s side: read the job from stdin, index, and report on stdout.
run
Run spec in a child process, its events going to job; cancelling job stops it.