Reword the .partial phrases still stacking clauses
check / check (push) Waiting to run

docs/DATAMODEL.md said "each .partial object a killed upload left
under metadata/", and the Go doc comments in prune.go, info.go,
storer.go and the new test said "the .partial objects uploads cut off
part-way left": the verb arrives late and the noun pair reads as a
clause. They now say "left by a killed upload" or drop the phrase.

Model: opus-5-5
This commit is contained in:
sneak committed 2026-11-19 08:30:00 +00:00
1 parent 59664f219e
commit 5e26e30ba2
5 files changed
+20 -20

No files matched your search

+3 -3
View File
@@ -77,9 +77,9 @@ type Storer interface {
// If an error occurs during listing, the final item will have Err set.
ListStream(ctx context.Context, prefix string) <-chan ObjectInfo
// ListPartialUploads returns each object under prefix that an upload
// cut off part-way left under a temporary name ending in `.partial`,
// with its key, size and modification time. The file and rclone
// ListPartialUploads returns each object under prefix whose name ends
// in `.partial`, as a killed upload leaves it, with its key, size and
// modification time. The file and rclone
// backends' List and ListStream skip such an object; Delete removes
// it.
ListPartialUploads(ctx context.Context, prefix string) ([]ObjectInfo, error)