Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agentscope-ai/Trinity-RFT
/ acquire
Method
acquire
trinity/buffer/storage/file.py:73–75 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
71
)
72
73
def
acquire(self) -> int:
74
self.ref_count += 1
75
return
self.ref_count
76
77
def
release(self) -> int:
78
self.ref_count -= 1
Callers
2
prepare
Method · 0.45
test_file_writer
Method · 0.45
Calls
no outgoing calls
Tested by
1
test_file_writer
Method · 0.36