Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ write
Method
write
django/core/files/base.py:144–146 ·
view source on GitHub ↗
(self, data)
Source
from the content-addressed store, hash-verified
142
pass
143
144
def
write(self, data):
145
self.__dict__.pop(
"size"
, None)
# Clear the computed size.
146
return
self.file.write(data)
147
148
149
def
endswith_cr(line):
Callers
11
test_size_changing_after_writing
Method · 0.95
_write_content
Method · 0.45
file_move_safe
Function · 0.45
receive_data_chunk
Method · 0.45
receive_data_chunk
Method · 0.45
end_object
Method · 0.45
update
Method · 0.45
start_serialization
Method · 0.45
end_serialization
Method · 0.45
end_object
Method · 0.45
read_body
Method · 0.45
Calls
1
pop
Method · 0.45
Tested by
1
test_size_changing_after_writing
Method · 0.76