sdk/golang/Standard Library/GoCompressBzip2
Standard Library

GoCompressBzip2

Go stdlib package — compress/bzip2. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.NewReader()Neutral
#
Signature
NewReader(r io.Reader) io.Reader

NewReader returns an io.Reader which decompresses bzip2 data from r.

.StructuralError.Error()Neutral
#
Signature
StructuralError.Error() string

StructuralError.Error function.

.StructuralError()Neutral
#
Signature
type StructuralError ...

A StructuralError is returned when the bzip2 data is found to be

Fully-Qualified Names

FQNField
compress/bzip2fqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

go.mod
// standard library — no go.mod entry required
rule.py
from codepathfinder.go_rule import ...  # compress/bzip2