9 Commits
Author SHA1 Message Date
Samuel Cui ac02c71d3f feat!: stream caller-owned items and own the result queue
Reshape the public API around one push engine and restore the af05f05c
surface as a compatibility shell over it.

- NewStream takes caller-owned items (Source/Targets), reports every accepted
  item through one results callback, and Wait returns the run's terminal error.
  Run, BatchSource and the item callbacks are gone.
- The engine owns the result path: WithResultBuffer is the depth of the result
  queue, WithResultBatch is how many results one delivery carries, and
  WithResultFlushInterval is how long a successful result may wait. A result
  that carries any error is delivered immediately as its own batch.
- Restore the af05f05c API byte-compatibly in the same package: New, Copyer,
  Wait/WaitErr, AccurateJob, WildcardJob, the report events and the JSON report
  round-trip through encoding/json alone.
- One descriptor serves a whole item; the stored hash is read through the
  descriptor that reads the content and the computed hash is published through
  it before it closes.
- Make every handoff escapable by a hard stop: the read buffer, a chunk send,
  an event send and the result buffer.
- Fix the recorded sweep findings: report indent and round-trip, cmd/acp exit
  status, acp-rewrite final paths, mmap EOF/close/slice, disk-usage
  reservations, ErrTargetIO identity, the fatal-panic safety net, option
  validation, and the FreeBSD/Windows build paths.
- Cover the contract with semantic tests, add Makefile check/race/vet/cross
  targets, and document the withdrawn v0.1.0/v0.2.0 migration in README.
2026-09-19 15:18:13 +08:00
Samuel N Cui 207085ec89 feat: change path api 2026-03-13 21:14:47 +08:00
Samuel N Cui b13b740940 feat: update godf for bsd 2023-10-04 11:26:18 +08:00
Samuel N Cui 5231f1657b fix: large file make ltfs into readonly mode 2023-09-27 17:57:10 +08:00
崔竞宁 290748251e feat: rename to samuelncui 2023-09-22 13:50:57 +08:00
崔竞宁 8502bf37dc feat: add wildcard job 2023-05-07 16:19:11 +08:00
崔竞宁 edd8196e43 fix: report json marshal error 2022-12-13 10:58:16 +08:00
崔竞宁 9fa93b905b feat: add event 2022-12-07 19:50:48 +08:00
崔竞宁 43289e4b94 feat: init for use 2022-09-07 22:40:45 +08:00