- class BalancedDiscStorage.path_and_hash.PathAndHash(path, hash=None)¶
Path representation, which also holds hash.
This class is based on str, with which is fully interchangeable.
str(PathAndHash(path="xe", hash="asd")) == "xe"
str – Path to the file.
str – Hash of the file.