Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FLC777/GLAT
/ gopen
Function
gopen
scripts/count_docs.py:24–28 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
22
args = parser.parse_args()
23
24
def
gopen():
25
if
args.gzip:
26
return
gzip.open(args.input,
"r"
)
27
else
:
28
return
open(args.input,
"r"
, encoding=
"utf-8"
)
29
30
num_lines = []
31
num_toks = []
Callers
1
main
Function · 0.85
Calls
1
open
Method · 0.80
Tested by
no test coverage detected