MCPcopy Index your code
hub / github.com/coder/code-server / bindAddrFromAllSources

Function bindAddrFromAllSources

src/node/cli.ts:828–839  ·  view source on GitHub ↗
(...argsConfig: UserProvidedArgs[])

Source from the content-addressed store, hash-verified

826}
827
828function bindAddrFromAllSources(...argsConfig: UserProvidedArgs[]): Addr {
829 let addr: Addr = {
830 host: "localhost",
831 port: 8080,
832 }
833
834 for (const args of argsConfig) {
835 addr = bindAddrFromArgs(addr, args)
836 }
837
838 return addr
839}
840
841/**
842 * Determine if it looks like the user is trying to open a file or folder in an

Callers 1

setDefaultsFunction · 0.85

Calls 1

bindAddrFromArgsFunction · 0.85

Tested by

no test coverage detected