summaryrefslogtreecommitdiff
path: root/lib/btrfs/btrfstree/types_node.go
AgeCommit message (Collapse)Author
2023-03-30btrfstree: Change the NodeSource API so that it can do cachingLuke Shumaker
2023-03-30btrfstree: Divorce ReadNode from NodeExpectationsLuke Shumaker
2023-03-30btrfstree: Maximum node level is 8Luke Shumaker
2023-03-29btrfstree: Move NodeExpectations to a separate fileLuke Shumaker
2023-03-23btrfstree: Add a 'generation' argument the owner validationLuke Shumaker
Validating a node's owner properly requires the generation. But don't worry about actually doing it properly yet, just update the API first.
2023-03-17btrfstree: Factor out NodeExpectations.Check() from ReadNode()Luke Shumaker
2023-03-17btrfstree: Have ReadNode return a *Node rather than a *diskio.Ref[Addr, Node]Luke Shumaker
... and take a ReaderAt instead of a diskio.File.
2023-03-17tree-wide: Turn on all revive linters (with exceptions)Luke Shumaker
2023-03-17tree-wide: Ensure that all existing method doc comments follow the expected ↵Luke Shumaker
format
2023-03-15tree-wide: Have "interior" rather than "internal" be the antonym of "leaf"Luke Shumaker
Because "internal" has a meaning in the Go world, and it's confusing.
2023-03-15btrfstree: Fix commentsLuke Shumaker
2023-02-12Change how constants are declared to play nice with godocLuke Shumaker
Switch to NAME Type = val instead of NAME = Type(val)
2023-02-12btrfstree: Add a FreeNodeRef function, use itLuke Shumaker
2023-02-12tree-wide: Cache all calls to binstruct.StaticSizeLuke Shumaker
2023-02-12btrfstree: Add a Pool for byte slicesLuke Shumaker
2023-02-12btrfstree: Pre-allocate node.BodyLeaf/node.BodyInternalLuke Shumaker
2023-02-05containers: s/Cmp/Compare/ to match the standard libraryLuke Shumaker
Go 1.18 added net/netip.Addr.Compare, and Go 1.20 added time.Time.Compare.
2023-01-01lint: Turn on gomndLuke Shumaker
2023-01-01lint: Turn on gofumptLuke Shumaker
All edits to .go files are made by `tools/bin/golangci-lint run --fix ./...`, not by me as a human.
2023-01-01lint: Turn on gocriticLuke Shumaker
2022-09-05Add ToKey to TreePaths; MinItem and MaxItem to NodeExpectationsLuke Shumaker
2022-08-30Change how btrfstree.TreePath generations workLuke Shumaker
2022-08-30btrfstree.ReadNode: Return more useful error typesLuke Shumaker
2022-08-30btrfstree: Don't let (most) validation errors prevent parsingLuke Shumaker
2022-08-30fix bad search/replaceLuke Shumaker
2022-08-30wipLuke Shumaker
2022-08-28btrfs: Split off btrfstree and btrfsprim sub-packagesLuke Shumaker