Stefan Haller
26459523f5
Add a root item ("/") if files at top level have changed
2025-03-21 08:04:58 +01:00
Stefan Haller
0b42cfb568
Make Node.path private
...
This is in preparation for changing the meaning of path in the next commit.
2025-03-20 12:31:34 +01:00
Stefan Haller
2dfc3491bd
Rename Name to Path in File and CommitFile
...
Name was very confusing and misleading.
2025-03-20 12:31:34 +01:00
Jesse Duffield
fdff2dec79
Remove redundant variable dedeclarations
...
In go 1.22, loop variables are redeclared with each iteration of the
loop, rather than simple updated on each iteration. This means that we
no longer need to manually redeclare variables when they're closed over
by a function.
2024-05-19 16:38:21 +10:00
knowmost
0677a58e9f
chore: fix some comments and typos
...
Signed-off-by: knowmost <knowmost@outlook.com>
2024-04-28 09:44:59 +02:00
Jesse Duffield
682be18507
refactor to use generics for file nodes
...
use less generic names
2022-07-31 19:43:14 +10:00
Jesse Duffield
62393cf28a
more treeish files
2021-07-27 21:52:42 +10:00
Jesse Duffield
9e5f031553
bubble up tracked files in flat file view
2021-04-17 10:04:49 +10:00
Jesse Duffield
f89c47b83d
add test for building tree
2021-04-08 21:33:17 +10:00