generated from aboutcode-org/skeleton
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #180 from nexB/fix-filter-by-checksums
Fix filter by checksums
- Loading branch information
Showing
8 changed files
with
264 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
211 changes: 211 additions & 0 deletions
211
matchcode-toolkit/tests/testfiles/fingerprinting/test.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,211 @@ | ||
{ | ||
"headers": [ | ||
{ | ||
"tool_name": "scancode-toolkit", | ||
"tool_version": "32.0.6", | ||
"options": { | ||
"input": [ | ||
"/home/jono/Desktop/test" | ||
], | ||
"--info": true, | ||
"--json-pp": "/home/jono/test.json" | ||
}, | ||
"notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.", | ||
"start_timestamp": "2023-08-31T215533.874398", | ||
"end_timestamp": "2023-08-31T215533.977407", | ||
"output_format_version": "3.0.0", | ||
"duration": 0.10302162170410156, | ||
"message": null, | ||
"errors": [], | ||
"warnings": [], | ||
"extra_data": { | ||
"system_environment": { | ||
"operating_system": "linux", | ||
"cpu_architecture": "64", | ||
"platform": "Linux-5.4.0-150-generic-x86_64-with-glibc2.27", | ||
"platform_version": "#167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023", | ||
"python_version": "3.10.8 (main, Nov 20 2022, 18:43:48) [GCC 7.5.0]" | ||
}, | ||
"spdx_license_list_version": "3.21", | ||
"files_count": 3 | ||
} | ||
} | ||
], | ||
"files": [ | ||
{ | ||
"path": "test", | ||
"type": "directory", | ||
"name": "test", | ||
"base_name": "test", | ||
"extension": "", | ||
"size": 0, | ||
"date": null, | ||
"sha1": null, | ||
"md5": null, | ||
"sha256": null, | ||
"mime_type": null, | ||
"file_type": null, | ||
"programming_language": null, | ||
"is_binary": false, | ||
"is_text": false, | ||
"is_archive": false, | ||
"is_media": false, | ||
"is_source": false, | ||
"is_script": false, | ||
"files_count": 3, | ||
"dirs_count": 3, | ||
"size_count": 55, | ||
"scan_errors": [] | ||
}, | ||
{ | ||
"path": "test/package.json", | ||
"type": "file", | ||
"name": "package.json", | ||
"base_name": "package", | ||
"extension": ".json", | ||
"size": 3, | ||
"date": "2023-08-31", | ||
"sha1": "f10e2821bbbea527ea02200352313bc059445190", | ||
"md5": "7815696ecbf1c96e6894b779456d330e", | ||
"sha256": "688787d8ff144c502c7f5cffaafe2cc588d86079f9de88304c26b0cb99ce91c6", | ||
"mime_type": "text/plain", | ||
"file_type": "ASCII text, with no line terminators", | ||
"programming_language": null, | ||
"is_binary": false, | ||
"is_text": true, | ||
"is_archive": false, | ||
"is_media": false, | ||
"is_source": false, | ||
"is_script": false, | ||
"files_count": 0, | ||
"dirs_count": 0, | ||
"size_count": 0, | ||
"scan_errors": [] | ||
}, | ||
{ | ||
"path": "test/src", | ||
"type": "directory", | ||
"name": "src", | ||
"base_name": "src", | ||
"extension": "", | ||
"size": 0, | ||
"date": null, | ||
"sha1": null, | ||
"md5": null, | ||
"sha256": null, | ||
"mime_type": null, | ||
"file_type": null, | ||
"programming_language": null, | ||
"is_binary": false, | ||
"is_text": false, | ||
"is_archive": false, | ||
"is_media": false, | ||
"is_source": false, | ||
"is_script": false, | ||
"files_count": 2, | ||
"dirs_count": 0, | ||
"size_count": 52, | ||
"scan_errors": [] | ||
}, | ||
{ | ||
"path": "test/src/bar.txt", | ||
"type": "file", | ||
"name": "bar.txt", | ||
"base_name": "bar", | ||
"extension": ".txt", | ||
"size": 3, | ||
"date": "2023-08-31", | ||
"sha1": "62cdb7020ff920e5aa642c3d4066950dd1f01f4d", | ||
"md5": "37b51d194a7513e45b56f6524f2d51f2", | ||
"sha256": "fcde2b2edba56bf408601fb721fe9b5c338d10ee429ea04fae5511b68fbf8fb9", | ||
"mime_type": "text/plain", | ||
"file_type": "ASCII text, with no line terminators", | ||
"programming_language": null, | ||
"is_binary": false, | ||
"is_text": true, | ||
"is_archive": false, | ||
"is_media": false, | ||
"is_source": false, | ||
"is_script": false, | ||
"files_count": 0, | ||
"dirs_count": 0, | ||
"size_count": 0, | ||
"scan_errors": [] | ||
}, | ||
{ | ||
"path": "test/src/foo.js", | ||
"type": "file", | ||
"name": "foo.js", | ||
"base_name": "foo", | ||
"extension": ".js", | ||
"size": 49, | ||
"date": "2023-07-26", | ||
"sha1": "fef9e8e1746b8f2175b500c57a9c6d250623885b", | ||
"md5": "54149367c4c4523241c945701eee1a02", | ||
"sha256": "8ab7888ffceb5004ff3d14417c71d7b56812e04d0ac86545e1592208c6d56d04", | ||
"mime_type": "text/plain", | ||
"file_type": "ASCII text", | ||
"programming_language": "JavaScript", | ||
"is_binary": false, | ||
"is_text": true, | ||
"is_archive": false, | ||
"is_media": false, | ||
"is_source": true, | ||
"is_script": false, | ||
"files_count": 0, | ||
"dirs_count": 0, | ||
"size_count": 0, | ||
"scan_errors": [] | ||
}, | ||
{ | ||
"path": "test/test", | ||
"type": "directory", | ||
"name": "test", | ||
"base_name": "test", | ||
"extension": "", | ||
"size": 0, | ||
"date": null, | ||
"sha1": null, | ||
"md5": null, | ||
"sha256": null, | ||
"mime_type": null, | ||
"file_type": null, | ||
"programming_language": null, | ||
"is_binary": false, | ||
"is_text": false, | ||
"is_archive": false, | ||
"is_media": false, | ||
"is_source": false, | ||
"is_script": false, | ||
"files_count": 0, | ||
"dirs_count": 1, | ||
"size_count": 0, | ||
"scan_errors": [] | ||
}, | ||
{ | ||
"path": "test/test/test2", | ||
"type": "directory", | ||
"name": "test2", | ||
"base_name": "test2", | ||
"extension": "", | ||
"size": 0, | ||
"date": null, | ||
"sha1": null, | ||
"md5": null, | ||
"sha256": null, | ||
"mime_type": null, | ||
"file_type": null, | ||
"programming_language": null, | ||
"is_binary": false, | ||
"is_text": false, | ||
"is_archive": false, | ||
"is_media": false, | ||
"is_source": false, | ||
"is_script": false, | ||
"files_count": 0, | ||
"dirs_count": 0, | ||
"size_count": 0, | ||
"scan_errors": [] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters