class documentation
class FilesystemMetadataStore(MetadataStore): (source)
Undocumented
Method | __init__ |
Undocumented |
Method | commit |
If the backing store requires a commit, do it. |
Method | getmtime |
Read the mtime of a metadata entry.. |
Method | list |
Undocumented |
Method | read |
Read the contents of a metadata entry. |
Method | remove |
Delete a metadata entry |
Method | write |
Write a metadata entry. |
Instance Variable | cache |
Undocumented |
overrides
mypy.metastore.MetadataStore.commit
If the backing store requires a commit, do it. But N.B. that this is not *guaranteed* to do anything, and there is no guarantee that changes are not made until it is called.
overrides
mypy.metastore.MetadataStore.getmtime
Read the mtime of a metadata entry.. Raises FileNotFound if the entry does not exist.
overrides
mypy.metastore.MetadataStore.read
Read the contents of a metadata entry. Raises FileNotFound if the entry does not exist.
overrides
mypy.metastore.MetadataStore.write
Write a metadata entry. If mtime is specified, set it as the mtime of the entry. Otherwise, the current time is used. Returns True if the entry is successfully written, False otherwise.