MCPcopy Create free account
hub / github.com/Effect-TS/effect / unixPathAddress

Function unixPathAddress

packages/effect/src/net/NetAddress.ts:2233–2237  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

2231 * @since 4.0.0
2232 */
2233export const unixPathAddress = (path: string): UnixPathAddress => {
2234 const self = Object.create(UnixPathProto)
2235 self.path = path
2236 return Object.freeze(self)
2237}
2238
2239/**
2240 * Formats a Unix-domain socket path as a readable `unix://path` display string.

Callers 1

socketAddressFromInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected