(ctx context.Context, engine storage.Engine, u *storage.URI, id ID)
| 195 | } |
| 196 | |
| 197 | func writeID(ctx context.Context, engine storage.Engine, u *storage.URI, id ID) error { |
| 198 | r := strings.NewReader(strconv.FormatUint(uint64(id), 10)) |
| 199 | return storage.Put(ctx, engine, u, r) |
| 200 | } |
| 201 | |
| 202 | func readID(ctx context.Context, engine storage.Engine, path *storage.URI) (ID, ID, error) { |
| 203 | var retry int |