Update docstrings
This commit is contained in:
parent
4c0e14182f
commit
cffbc3f268
@ -29,15 +29,7 @@ class Repository(Hierarchy):
|
|||||||
* Each snapshot in a repository is unaware of one another,
|
* Each snapshot in a repository is unaware of one another,
|
||||||
this is the job of the repository to organize
|
this is the job of the repository to organize
|
||||||
* The only way snapshots are linked together is in files
|
* The only way snapshots are linked together is in files
|
||||||
that are hardlinked together
|
that are hard-linked together
|
||||||
|
|
||||||
At the time of creation, the following is true about the class:
|
|
||||||
===============================================================
|
|
||||||
The current snapshot points to:
|
|
||||||
-------------------------------
|
|
||||||
* None if the repository is empty
|
|
||||||
* The most recent snapshot before running create_snapshot()
|
|
||||||
* A new, empty snapshot after running create_snapshot()
|
|
||||||
|
|
||||||
Attributes
|
Attributes
|
||||||
----------
|
----------
|
||||||
@ -81,7 +73,8 @@ class Repository(Hierarchy):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, dest):
|
def __init__(self, dest):
|
||||||
"""Default constructor for the Repository class."""
|
"""Default constructor for the Repository class.
|
||||||
|
"""
|
||||||
super().__init__(dest)
|
super().__init__(dest)
|
||||||
|
|
||||||
if not self.metadata_path.exists():
|
if not self.metadata_path.exists():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user