Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/conda/constructor
/ read_header_template
Function
read_header_template
constructor/shar.py:55–59 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
53
54
55
def
read_header_template():
56
path = join(THIS_DIR,
"header.sh"
)
57
logger.info(
"Reading: %s"
, path)
58
with
open(path)
as
fi:
59
return
fi.read()
60
61
62
def
get_header(conda_exec, tarball, info):
Callers
2
test_template_shellcheck
Function · 0.90
get_header
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_template_shellcheck
Function · 0.72