MCPcopy Index your code
hub / github.com/coder/coder / applyDefaultPortOffset

Method applyDefaultPortOffset

scripts/develop/main.go:346–352  ·  view source on GitHub ↗
(port *int64)

Source from the content-addressed store, hash-verified

344}
345
346func (c *devConfig) applyDefaultPortOffset(port *int64) portSource {
347 if c.portOffset == 0 {
348 return portSourceDefault
349 }
350 *port += int64(c.portOffset)
351 return portSourceOffset
352}
353
354func (c *devConfig) validate() error {
355 if c.agpl && c.useProxy {

Callers 1

applyPortOffsetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected