Commit ee46794c authored by Jim Fulton's avatar Jim Fulton

Updated consumeFile doc to fix a typo and reflect that we're no

willing to copy when renaming fails.
parent 3b8bedca
...@@ -925,13 +925,9 @@ class IBlob(Interface): ...@@ -925,13 +925,9 @@ class IBlob(Interface):
def consumeFile(filename): def consumeFile(filename):
"""Consume a file. """Consume a file.
Eplace the current data of the blob with the file given under Replace the current data of the blob with the file given under
filename. filename.
This method uses link-like semantics internally and has the requirement
that the file that is to be consumed lives on the same volume (or
mount/share) as the blob directory.
The blob must not be opened for reading or writing when consuming a The blob must not be opened for reading or writing when consuming a
file. file.
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment