Skip to content

Instantly share code, notes, and snippets.

@nektro
Last active Apr 25, 2022
Embed
What would you like to do?
const extras = @import("extras");
pub fn amInside() !bool {
return try extras.doesFileExist(null, "/.dockerenv");
}
id: wdpj695kgredmqq5smtkj5t8u5uert9mxm2rvd75
name: docker
main: docker.zig
license: MIT
dependencies:
- src: git https://github.com/nektro/zig-extras
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment