b2sdk.sync.path¶
-
class
b2sdk.sync.path.AbstractSyncPath(relative_path: str, mod_time: int, size: int)[source]¶ Bases:
abc.ABCRepresent a path in a source or destination folder - be it B2 or local
-
class
b2sdk.sync.path.LocalSyncPath(absolute_path: str, relative_path: str, mod_time: int, size: int)[source]¶ Bases:
b2sdk.sync.path.AbstractSyncPath-
__init__(absolute_path: str, relative_path: str, mod_time: int, size: int)[source]¶ Initialize self. See help(type(self)) for accurate signature.
-
absolute_path¶
-
relative_path¶
-
mod_time¶
-
size¶
-
-
class
b2sdk.sync.path.B2SyncPath(relative_path: str, selected_version: b2sdk.file_version.FileVersion, all_versions: List[b2sdk.file_version.FileVersion])[source]¶ Bases:
b2sdk.sync.path.AbstractSyncPath-
__init__(relative_path: str, selected_version: b2sdk.file_version.FileVersion, all_versions: List[b2sdk.file_version.FileVersion])[source]¶ Initialize self. See help(type(self)) for accurate signature.
-
selected_version¶
-
all_versions¶
-
relative_path¶
-
property
mod_time¶
-
property
size¶
-