Module liboskar::utils [] [src]

Functions

get_processors

Helper function to get the number of CPUs. We subtract 1, because the main thread that's doing the spawning counts as one OS thread.

mk_ignores

Gather the information from .gitignore, .ignore, and darcs boring files in a given directory, and assemble a RegexSet from it.

size