CodeSampleX

Beispiel

verify pkg:golang/github.com/spf13/cast@v1.7.0

sha256:90db890a527aab17441d5ab3196e06544ca5570263d500a749559f8ace6ee5da

Veröffentlichungsstatus. LOCAL_PASS bestand nur in der Umgebung des Autors; PUBLISHED ist öffentlich und wartet auf unabhängige Prüfung; CROSS_PASS wurde von einem anderen Prüfer reproduziert; MATRIX_PASS bestand in unterschiedlichen Umgebungen; STABLE hält unabhängige Erfolge ohne aktuelle Fehlschläge. Belegstärke. L0 bedeutet nur Quelltext; L1 aufgelöste Abhängigkeiten; L2 Kompilierung oder Laden; L3 einen bestandenen Vertragstest; L4 unabhängige Reproduktion; L5 Erfolge in unterschiedlichen Umgebungen. MIT-0

Ausführungsbelege

Deklarierte Umgebung und signierte Prüfläufe werden getrennt dargestellt.

Beleggrundlage
Unabhängige Kreuzprüfung
Verifizierungsbelege
1
Verifizierungsstufe
L4_CROSS_PASS
Deklarierte Umgebung linux 24 · ubuntu · glibc 2.39 x64 go

Umgebungen der Verifizierungsläufe

Umgebung Contract Stufen Lauf
go 1.26 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · golang@1
2026-08-21

Fall

HOW
Ziel
verify pkg:golang/github.com/spf13/cast@v1.7.0
Pakete
Symbole
  • cast.ToString
  • cast.ToStringE
  • cast.ToInt
  • cast.ToIntE
  • cast.ToBool
  • cast.ToBoolE
  • cast.ToDuration
  • cast.ToDurationE
  • cast.ToStringSlice
  • cast.ToStringSliceE
  • cast.ToStringMapString
  • cast.ToStringMapStringE
Erstellt
2026-08-21T00:06:31Z

Contract

  1. cast.ToString and cast.ToStringE convert numeric values, booleans, and byte slices to string representations
  2. cast.ToInt and cast.ToIntE safely parse numeric strings, booleans, and floats into integer values
  3. cast.ToBool and cast.ToBoolE parse string and numeric representations into boolean values
  4. cast.ToDuration and cast.ToDurationE parse formatted duration strings and numeric nanoseconds into time.Duration
  5. cast.ToStringSlice and cast.ToStringSliceE convert slice collections of arbitrary types into []string
  6. cast.ToStringMapString and cast.ToStringMapStringE convert map structures with arbitrary value types into map[string]string

Dateien

  • PROMPT.md
  • cast_sample.go
  • cast_sample_test.go
  • csx.json
  • go.mod
  • go.sum
  • spec.json

Quellartefakt herunterladen (tar.gz)

Ursprungs-Seeder

anonym