mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-21 05:53:12 +00:00
IMutableFileNode is a subtype of IFileNode
I'm not 100% sure that this is correct, but it looks reasonable, it passes unit tests (although note that unit tests are currently not covering the new mutable files very well), and it makes the "view JSON" link on a directory work instead of raising an assertion error.
This commit is contained in:
parent
35aea346d3
commit
ae727a550a
@ -473,7 +473,7 @@ class IFileNode(Interface):
|
||||
def check():
|
||||
"""Perform a file check. See IChecker.check for details."""
|
||||
|
||||
class IMutableFileNode(Interface):
|
||||
class IMutableFileNode(IFileNode):
|
||||
def download_to_data():
|
||||
"""Download the file's contents. Return a Deferred that fires with
|
||||
those contents. If there are multiple retrievable versions in the
|
||||
|
Loading…
Reference in New Issue
Block a user