MCPcopy Create free account
hub / github.com/foxcpp/maddy / InitPush

Method InitPush

internal/updatepipe/update_pipe.go:53–53  ·  view source on GitHub ↗

InitPush prepares the UpdatePipe to be used as updates source (Push method). It is called implicitly on the first Push call, but calling it explicitly allows to detect initialization errors early.

()

Source from the content-addressed store, hash-verified

51 // It is called implicitly on the first Push call, but calling it
52 // explicitly allows to detect initialization errors early.
53 InitPush() error
54
55 // Push writes the update to the pipe.
56 //

Callers 1

EnableUpdatePipeMethod · 0.65

Implementers 2

PubSubPipeinternal/updatepipe/pubsub_pipe.go
UnixSockPipeinternal/updatepipe/unix_pipe.go

Calls

no outgoing calls

Tested by

no test coverage detected