github.com/anchore/syft@v1.38.2/syft/cataloging/executor.go (about)

     1  package cataloging
     2  
     3  // ExecutorCPU is the name to use when executing parallel functions which are CPU-intensive, such as
     4  // hashing full files
     5  const ExecutorCPU = "cpu"
     6  
     7  // ExecutorFile is the name to use when executing parallel file reading functions, such as cataloging
     8  const ExecutorFile = "file"