[roll] Roll fuchsia [check-licenses] Use ResolveAndValidatePath in classify command

Update classify.go to use ResolveAndValidatePath for consistent path
resolution and to enforce that the target file is inside the repository.

Updated patternsDir to use the returned valid fuchsiaDir.

Added unit tests for output verification, no-match case, and workspace
boundary enforcement in classify_test.go.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1602391
Original-Revision: 4f1f19ce2f8670319092a213f0bcbf0ce172e9ef
GitOrigin-RevId: 185c8d3a0dfdbfeb7b7a58036251f845ae2db2d5
Change-Id: I9324e4e3dad2b1c8ad15e82bb457ebee11f02e40
1 file changed
tree: 82ae725f563a443c9e8ecbce780df6b4d1663509
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.