Artifact a1ffff4e83ca6d1fd1cf6e32a895d43caa225f84c776f2aded2d18367e4b6ecf:
- File
leaf/telemetry/checkout_observer_noop.go
— part of check-in
[38efed7a12]
at
2026-08-12 20:50:57
on branch main
— chore(deps): migrate to go-libfossil v0.9.0 (#195)
* chore(deps): migrate to go-libfossil v0.9.0 (renamed module path)
- import path danmestas/libfossil → danmestas/go-libfossil everywhere - CloneOpts.ProjectCode removed upstream; assert via CloneResult instead - Timeline now takes TimelineOpts (cursor pagination, newest-first) - testutil.HasFossil removed; check FossilBinary() != ""
* ci: retrigger checks
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> (user: [email protected], size: 1036) [annotate] [blame] [check-ins using]
//go:build wasip1 || js package telemetry import ( libfossil "github.com/danmestas/go-libfossil" ) // CheckoutOTelObserver is a no-op on WASM builds. type CheckoutOTelObserver struct{} // NewCheckoutOTelObserver returns a no-op observer on WASM builds. func NewCheckoutOTelObserver(_ any) *CheckoutOTelObserver { return &CheckoutOTelObserver{} } func (*CheckoutOTelObserver) ExtractStarted(_ libfossil.ExtractStart) {} func (*CheckoutOTelObserver) ExtractFileCompleted(_ string, _ libfossil.UpdateChange) {} func (*CheckoutOTelObserver) ExtractCompleted(_ libfossil.ExtractEnd) {} func (*CheckoutOTelObserver) ScanStarted(_ string) {} func (*CheckoutOTelObserver) ScanCompleted(_ libfossil.ScanEnd) {} func (*CheckoutOTelObserver) CommitStarted(_ libfossil.CommitStart) {} func (*CheckoutOTelObserver) CommitCompleted(_ libfossil.CommitEnd) {} func (*CheckoutOTelObserver) Error(_ error) {}