Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PKU-ASAL/Simulated-Data
/ CacheGraph
Class
CacheGraph
src/Sysdig/real-time/CacheGraph.py:1–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
class
CacheGraph(object):
2
def
__init__(self,graph):
3
4
self.graph = graph
5
self.timestamp = 0
6
self.update = 0
7
8
def
GetGraphScore(self):
9
return
self.graph.graph[
'score'
]
10
11
def
GetGraphTS(self):
12
return
self.timestamp
13
14
Callers
1
MergeGraph
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected