MCPcopy
hub / github.com/coder/code-server / address

Method address

test/e2e/models/CodeServer.ts:56–63  ·  view source on GitHub ↗

* The address at which code-server can be accessed. Spawns code-server if it * has not yet been spawned.

()

Source from the content-addressed store, hash-verified

54 * has not yet been spawned.
55 */
56 async address(): Promise<string> {
57 if (!this.process) {
58 this.process = this.spawn()
59 }
60 const { address } = await this.process
61
62 return address
63 }
64
65 /**
66 * The workspace directory code-server opens with.

Callers 6

getAvailablePortFunction · 0.45
portMethod · 0.45
addressMethod · 0.45
runCodeServerFunction · 0.45
ensureAddressFunction · 0.45

Calls 1

spawnMethod · 0.95

Tested by

no test coverage detected