Frontend created and rewritten a few times, with some backend fixes #1

Merged
leo merged 110 commits from plaintable into main 2023-11-08 20:38:40 +00:00
Showing only changes of commit fc1fb3ea5d - Show all commits

View File

@ -87,15 +87,7 @@ def format_du():
def format_tree():
root = tree[""]
return msgspec.json.encode(
{
"update": [
UpdateEntry(
key=root.key, size=root.size, mtime=root.mtime, dir=root.dir
),
],
},
).decode()
return msgspec.json.encode({"root": root}).decode()
def walk(path: Path) -> DirEntry | FileEntry | None: