Rewrites `README.md` from scratch for #135. Every statement was checked against the code on `next` and against what the built binary prints on small trees under `/var/tmp`. The headings that the code comments cite are kept. Five `main_test.go` comments cite "Settings", two cite what "Error handling" says about a failed write to stdout, and one comment each in `scan_test.go`, `trees_test.go` and `exclude_test.go` cites what the README now says. Where the old text and the repository disagreed, the new text states what the code does: `@latest` installs the newest tagged release, ten million files in both "Rationale" and "Design", no Windows excludes, and an operand reached through a symlinked directory below another operand is dropped (#144). Model: fable-5-1
This commit is contained in:
+3
-2
@@ -1064,8 +1064,9 @@ func TestScanOneFilesystemWalksNestedFileOperand(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// buildSmokeTree recreates the README smoke-test filesystem layout
|
||||
// with deterministic content and returns the tree root.
|
||||
// buildSmokeTree recreates the tree of the test under README
|
||||
// "Definition of done" with deterministic content and returns the tree
|
||||
// root.
|
||||
func buildSmokeTree(t *testing.T) string {
|
||||
t.Helper()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user