rename MUST move an object with the rename of the store where it has one and with a copy then a delete where it has not, replace a file with a copy then a delete guarded by the revision where the store has cas, refuse a file onto a directory (EISDIR), a directory onto a file (ENOTDIR), a directory onto a directory that is there (EEXIST) and a directory into itself (EINVAL), and move a directory by moving every object below it, reporting the objects it did and those it could not as EIO where some were not moved; removeAll MUST list the objects below a name and delete them, in batches where the store has batch, with the same report, EINVAL for the root and ENOENT for a name that is not there.
Enforced (check): .github: cd commons/anyfs-posix && bun run verify — suite/physical.test.ts
Proved by: anyfs-posix/suite/physical.test.ts
Written in: anyfs-posix/src/physical/posix.ts
Tests: passed: suite/physical.test.ts a move that fails halfway says which objects it moved and which it could not, a rename ove