Commit Graph

4 Commits

Author SHA1 Message Date
RaymondCho b614810ff9 Encode base64 through fixed-size chunks, as clippy 1.99 asks
CI / checks (pull_request) Successful in 38s
The encoder takes twelve-byte groups through as_chunks like the decoder
now does, and reads each group's two words with one fixed eight-byte
copy each, which compiles to a load: spelling the bytes out one by one
pushed a 1 MiB save past the 20M fuel budget, while this keeps it at
12.9M.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 06:52:39 +09:00
RaymondCho f95c58f9e9 Save and delete files in an aindrive drive without overwriting another change
A token that may write opens a writable folder. A save sends the file
whole through write_file with the revision it was read at, or "none" for
create-only, so aindrive refuses it as a conflict when the file moved on;
saves are capped at one 1 MiB transfer, which a table-driven encoder fits
into one call's fuel. A save whose answer is lost, or that the drive's
device timed out on, is reported with an unknown outcome. Deleting takes
one file; folders are refused because delete_path is recursive and
listings hide entries such as .git.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 06:52:39 +09:00
RaymondCho 7de6ea810c Open an aindrive drive as a read-only folder in Memona (#1)
CI / checks (push) Successful in 37s
2026-10-13 21:52:31 +00:00
RaymondCho 4ef9b217fa Start the repository with a license and a short description
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 22:51:52 +09:00