Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ total_diff_bytes
Method
total_diff_bytes
scripts/memory_report.py:102–103 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
100
101
@property
102
def
total_diff_bytes(self) -> int:
103
return
self.new.total_bytes - self.old.total_bytes
104
105
106
def
format_bytes(bytes: int) -> str:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected