chore(M00-A): 建立单仓库基线和参考清单

This commit is contained in:
Codex
2026-06-15 15:34:50 +08:00
commit 28613b2093
62 changed files with 5830 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
$ErrorActionPreference = "Stop"
$limitBytes = 100MB
$large = Get-ChildItem -Recurse -File | Where-Object {
$_.FullName -notmatch "\\.git\\" -and $_.Length -gt $limitBytes
}
if ($large) {
$large | ForEach-Object {
Write-Host ("LARGE-FILE: {0} {1:N0} bytes" -f $_.FullName, $_.Length)
}
Write-Host "WARN: files over 100MB found; document the handling strategy."
}
else {
Write-Host "PASS: no files over 100MB found."
}