Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
4
import
argparse
5
6
def
loadFromDisk(fileName):
7
name = fileName.split(
'/'
)[-1].split(
'.'
)[0]
8
sp = SourceFileLoader(name, fileName).load_module().Spider()
9
return
sp
10
11
def
run(path,name):
12
rPath = path
Callers
1
run
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected