Lines Matching +full:auto +full:- +full:scan
3 # SPDX-License-Identifier: Apache-2.0
21 # when assembling a Package's data, should we auto-conclude the
25 # when assembling a Package's Files' data, should we auto-conclude
29 # number of lines to scan for SPDX-License-Identifier (0 = all)
43 p = line.partition("SPDX-License-Identifier:")
55 Scans the specified file for the first SPDX-License-Identifier:
59 - filePath: path to file to scan.
60 - numLines: number of lines to scan for an expression before
61 giving up. If 0, will scan the entire file.
64 log.dbg(f" - getting licenses for {filePath}")
77 # invalid UTF-8 content
89 - expression: SPDX license expression
109 - pkg: Package
119 hSHA1.update(filelist.encode('utf-8'))
129 - lic: detected license ID
130 - doc: Document
141 - pkg: Package
160 - licsConcluded: array of license expressions
184 Scan for licenses and calculate hashes for all Files and Packages
188 - cfg: ScannerConfig
189 - doc: Document