MCPcopy
hub / github.com/ActivityWatch/activitywatch / get_filepaths

Function get_filepaths

scripts/logcrawler.py:14–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13
14def get_filepaths():
15 filepaths = []
16 for folder, dirs, files in os.walk(log_dir):
17 print("Crawling folder: " + folder)
18 filepaths.extend([os.path.join(folder, filename) for filename in files])
19 return filepaths
20
21
22def collect():

Callers 1

collectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected