Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

CallerIdentity.current(environment:)

Swift
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift

API reference · Markdown

CallerIdentity.current(environment:) ( environment : [String : String] ) → CallerIdentity?
methodstatic [source]
methodstatic [source]
CallerIdentity.current(environment:)

Reads the surrounding tmux, or nil when both context variables are absent.

An incomplete or malformed environment remains present as an invalid identity so an input guard cannot mistake it for a detached process.

Esc

Type to search.