1SPDX-License-Identifier: CC-BY-4.0 2 3The short-form ID searcher in `package idsearcher` makes the following assumptions: 4 5- The searcher uses bufio.Scanner to scan the contents of each file, line by 6 line. If it encounters a line that is too large to fit within the buffer, it 7 will stop scanning that file. As a result, it will currently only pick up 8 short-form IDs that occur prior to such a line. 9 10- For PackageLicenseInfoFromFiles (in Package) and LicenseInfoInFile (in File), 11 an exception should be treated as a separate "license". For example, in the 12 expression `GPL-2.0-only WITH Classpath-exception-2.0`, each of `GPL-2.0-only` 13 and `Classpath-exception-2.0` will be listed separately. 14