ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/missionmatch / cmd/corpus-harvest/dial_other.go

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/missionmatch / cmd/corpus-harvest/dial_other.go
DateNot specified in source
RepositoryJanady13/missionmatch
Revision720d47fae476b0d38477ae4401697d372b1ea2bc
Branchfeature/opportunity-to-outcome
Path or archive membercmd/corpus-harvest/dial_other.go
Original SHA-25600a2f188a19b0a39d96ff4c9b7f2062c6296a24bfadbf188240935d23e0c44ee
Git blob SHA73268c3f767f745b103ef79c087a903a305dd011
Reading-copy SHA-25600a2f188a19b0a39d96ff4c9b7f2062c6296a24bfadbf188240935d23e0c44ee

Original source ↗

Recovered source transcript

//go:build !darwin package main import ( "context" "fmt" "net" ) // Everywhere except macOS, interface binding is not the answer to anything this command has met, so asking // for it is refused rather than silently ignored. A silent no op would let an operator set the variable on // the Linux node, watch nothing change, and conclude the setting does not work anywhere. // // Linux has SO_BINDTODEVICE for the same purpose and it needs CAP_NET_RAW, so if a Linux node ever grows // the same scoped route problem this is the file that gains the implementation. func bindToInterface(name string) (func(ctx context.Context, network, addr string) (net.Conn, error), error) { if name == "" { return nil, nil } return nil, fmt.Errorf("binding a socket to interface %q is implemented for macOS only on this command", name) }

Search equations, builds, manuscript text, and recovered sources.