Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidblewett/rure-python
/ iter_srcs
Method
iter_srcs
regex/scripts/scrape_crates_io.py:176–179 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
174
pass
175
176
def
iter_srcs(self):
177
g =
"{crate}/**/*.rs"
.format(crate=self.filename[:-len(
".tar.gz"
)])
178
for
rsrc in glob.iglob(g):
179
yield
rsrc
180
181
def
iter_lines(self):
182
for
src in self.iter_srcs():
Callers
1
iter_lines
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected