Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/amazon-q-developer-cli
/ in_codespaces
Method
in_codespaces
crates/chat-cli/src/os/env.rs:156–158 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
154
}
155
156
pub fn in_codespaces(&self) -> bool {
157
self.get_os(
"CODESPACES"
).is_some() || self.get_os(
"Q_CODESPACES"
).is_some()
158
}
159
160
pub fn in_ci(&self) -> bool {
161
self.get_os(
"CI"
).is_some() || self.get_os(
"Q_CI"
).is_some()
Callers
nothing calls this directly
Calls
1
get_os
Method · 0.45
Tested by
no test coverage detected