MCPcopy Create free account
hub / github.com/UndCover/PyramidStore / loadFromDisk

Function loadFromDisk

run.py:6–9  ·  view source on GitHub ↗
(fileName)

Source from the content-addressed store, hash-verified

4import argparse
5
6def loadFromDisk(fileName):
7 name = fileName.split('/')[-1].split('.')[0]
8 sp = SourceFileLoader(name, fileName).load_module().Spider()
9 return sp
10
11def run(path,name):
12 rPath = path

Callers 1

runFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected