pyre.filesystem.Filesystem¶
Module Contents¶
-
class
pyre.filesystem.Filesystem.Filesystem(metadata=None, **kwds)¶ Bases:
pyre.filesystem.Folder.FolderThe base class for representing filesystems
A filesystem is a special {Folder} that maintains an association between the {Nodes} it contains and {Info} objects that are dependent on the specific filesystem type and capture what the filesystem knows about them.
-
info(self, node)¶ Look up and return the available metadata associated with {node}
-
checksum(self, node, **kwds)¶ Compute a checksum for the node
-
discover(self, root=None, **kwds)¶ Fill my structure with nodes from an external source
-
attach(self, node, uri, metadata=None, **kwds)¶ Maintenance for the {vnode} table. Filesystems that maintain more elaborate meta-data about their nodes must override to build their {info} structures.
-