Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/wal-e/wal-e
/ read
Function
read
setup.py:23–25 ·
view source on GitHub ↗
(fname)
Source
from the content-addressed store, hash-verified
21
22
# Utility function to read the contents of short files.
23
def
read(fname):
24
with
open(os.path.join(os.path.dirname(__file__), fname))
as
f:
25
return
f.read()
26
27
28
VERSION = read(os.path.join(
'wal_e'
,
'VERSION'
)).strip()
Callers
1
setup.py
File · 0.85
Calls
2
join
Method · 0.45
read
Method · 0.45
Tested by
no test coverage detected