Skip to content

@tsdrivers/mssql / ResolutionContext

Interface: ResolutionContext

Defined in: projects/ts-mssql/core/binary.ts:12

Context provided by the runtime adapter for resolving the library path. Keeps core runtime-agnostic.

Properties

info

info: RuntimeInfo

Defined in: projects/ts-mssql/core/binary.ts:19


sep

sep: string

Defined in: projects/ts-mssql/core/binary.ts:20


version

version: string

Defined in: projects/ts-mssql/core/binary.ts:18

Methods

cwd()

cwd(): string

Defined in: projects/ts-mssql/core/binary.ts:15

Returns

string


entryPoint()

entryPoint(): string | undefined

Defined in: projects/ts-mssql/core/binary.ts:17

Returns

string | undefined


env()

env(name): string | undefined

Defined in: projects/ts-mssql/core/binary.ts:13

Parameters

name

string

Returns

string | undefined


fileExists()

fileExists(path): boolean

Defined in: projects/ts-mssql/core/binary.ts:14

Parameters

path

string

Returns

boolean


homeDir()

homeDir(): string

Defined in: projects/ts-mssql/core/binary.ts:16

Returns

string