first pass at archive handling

This commit is contained in:
Zach committed 2025-04-28 09:39:22 -05:00
1 parent b6cc71aa3a
commit 770baf7458
12 files changed
+679 -105

No files matched your search

+13 -2
View File
@@ -12,8 +12,19 @@ import (
)
type ScanTarget struct {
Path string
Symlink string
Path string
Symlink string
VirtualPath string
Source string
// The following items are only used for git archive scans
// (since we have to treat them like regular dir scans)
GitInfo GitInfo
// TODO one day use a single Metadata map
// instead of git fields
// Metadata map[string]string
}
var isWindows = runtime.GOOS == "windows"