Skip to content

Commit

Permalink
Updated copyright headers
Browse files Browse the repository at this point in the history
Updated description
  • Loading branch information
reissim authored and waynebeaton committed Apr 23, 2024
1 parent 2cc58f6 commit 792be42
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*************************************************************************
* Copyright (c) 2021 The Eclipse Foundation and others.
* Copyright (c) 2024 Simon Reis
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down Expand Up @@ -31,13 +31,14 @@
import java.util.stream.Stream;

/**
* This class is responsible for reading a PNPM package-lock file and extracting content IDs.
* This class is responsible for reading a pnpm-lock.yaml generated by
* the PNPM Package Manager and extracting content IDs.
* A content ID represents a unique identifier for a package or dependency.
*
* The class implements the IDependencyListReader interface.
*
* The class uses the SnakeYAML library to parse the package-lock file in YAML format.
* Content ID is extracted only from the keys of the packages section of the package-lock file.
* The class uses the SnakeYAML library to parse the pnpm-lock.yaml file.
* Content ID is extracted only from the keys of the packages section of the pnpm-lock file.
* The main magic is done by the regex: KEY_PATTERN.
*
**/
Expand Down

0 comments on commit 792be42

Please sign in to comment.