MCPcopy Create free account
hub / github.com/21st-dev/1code / detectShell

Function detectShell

src/main/lib/platform/base.ts:82–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80 }
81
82 async detectShell(): Promise<string> {
83 // Default implementation returns configured shell
84 // Platforms can override for more sophisticated detection
85 return this.getDefaultShell()
86 }
87
88 async detectLocale(): Promise<string> {
89 // Default: check environment or return fallback

Callers

nothing calls this directly

Calls 1

getDefaultShellMethod · 0.65

Tested by

no test coverage detected