Files
rk35xx-android14/external/spdx-tools/docs/idsearcher-assumptions.md
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

702 B

SPDX-License-Identifier: CC-BY-4.0

The short-form ID searcher in package idsearcher makes the following assumptions:

  • The searcher uses bufio.Scanner to scan the contents of each file, line by line. If it encounters a line that is too large to fit within the buffer, it will stop scanning that file. As a result, it will currently only pick up short-form IDs that occur prior to such a line.

  • For PackageLicenseInfoFromFiles (in Package) and LicenseInfoInFile (in File), an exception should be treated as a separate "license". For example, in the expression GPL-2.0-only WITH Classpath-exception-2.0, each of GPL-2.0-only and Classpath-exception-2.0 will be listed separately.