ModulesΒΆ
- snapm package
- Module contents
FsTabReaderProgressAwareHandlerSelectionSelection.__init__()Selection.__repr__()Selection.__str__()Selection.all_attrsSelection.basenameSelection.check_valid_selection()Selection.from_cmd_args()Selection.indexSelection.is_null()Selection.is_single()Selection.mount_pointSelection.mount_pointsSelection.nameSelection.nr_snapshotsSelection.originSelection.sched_autoindexSelection.sched_calendarspecSelection.sched_default_size_policySelection.sched_enabledSelection.sched_gc_paramsSelection.sched_gc_typeSelection.sched_nameSelection.sched_runningSelection.sched_sourcesSelection.schedule_attrsSelection.snapshot_attrsSelection.snapshot_nameSelection.snapshot_set_attrsSelection.snapshot_uuidSelection.timestampSelection.uuid
SizePolicySizePolicyTypeSnapStatusSnapmArgumentErrorSnapmBusyErrorSnapmCalloutErrorSnapmErrorSnapmExistsErrorSnapmInvalidIdentifierErrorSnapmLimitErrorSnapmMountErrorSnapmNoProviderErrorSnapmNoSpaceErrorSnapmNotFoundErrorSnapmParseErrorSnapmPathErrorSnapmPluginErrorSnapmRecursionErrorSnapmSizePolicyErrorSnapmStateErrorSnapmSystemErrorSnapmTimerErrorSnapmUmountErrorSnapshotSnapshot.__init__()Snapshot.__str__()Snapshot.activate()Snapshot.as_dict()Snapshot.autoactivateSnapshot.check_resize()Snapshot.check_revert()Snapshot.deactivate()Snapshot.delete()Snapshot.devpathSnapshot.freeSnapshot.indexSnapshot.invalidate_cache()Snapshot.json()Snapshot.mount_pointSnapshot.mountedSnapshot.nameSnapshot.originSnapshot.origin_mountedSnapshot.origin_optionsSnapshot.rename()Snapshot.resize()Snapshot.revert()Snapshot.sizeSnapshot.snapset_basenameSnapshot.snapset_nameSnapshot.snapshot_mountedSnapshot.snapshot_setSnapshot.sourceSnapshot.statusSnapshot.timeSnapshot.timestampSnapshot.to_dict()Snapshot.uuid
SnapshotSetSnapshotSet.__init__()SnapshotSet.__str__()SnapshotSet.activate()SnapshotSet.as_dict()SnapshotSet.autoactivateSnapshotSet.basenameSnapshotSet.categoriesSnapshotSet.datetimeSnapshotSet.deactivate()SnapshotSet.delete()SnapshotSet.devicesSnapshotSet.indexSnapshotSet.json()SnapshotSet.mount_pointsSnapshotSet.mountedSnapshotSet.nameSnapshotSet.nr_snapshotsSnapshotSet.origin_mountedSnapshotSet.rename()SnapshotSet.resize()SnapshotSet.revert()SnapshotSet.set_categories()SnapshotSet.snapshot_by_mount_point()SnapshotSet.snapshot_by_source()SnapshotSet.snapshot_mountedSnapshotSet.snapshotsSnapshotSet.sourcesSnapshotSet.statusSnapshotSet.timeSnapshotSet.timestampSnapshotSet.to_dict()SnapshotSet.uuid
SubsystemFilterbool_to_yes_no()build_snapset_mount_list()find_snapset_root()get_current_rss()get_debug_mask()get_device_fstype()get_device_path()get_total_memory()is_size_policy()notify_log_output()parse_size_with_units()register_progress()select_snapshot()select_snapshot_set()set_debug_mask()size_fmt()unregister_progress()
- Submodules
- snapm.manager module
CalendarSpecGcPolicyGcPolicy.__init__()GcPolicy.__repr__()GcPolicy.__str__()GcPolicy.disable()GcPolicy.enable()GcPolicy.enabledGcPolicy.evaluate()GcPolicy.from_cmd_args()GcPolicy.from_dict()GcPolicy.from_json()GcPolicy.has_paramsGcPolicy.json()GcPolicy.nameGcPolicy.paramsGcPolicy.runningGcPolicy.start()GcPolicy.stop()GcPolicy.to_dict()GcPolicy.type
GcPolicyTypeManagerManager.__init__()Manager._check_recursion()Manager._find_and_verify_plugins()Manager._find_next_index()Manager._load_plugin_config()Manager._recategorize_snapshot_sets()Manager._set_autoactivate()Manager._snapset_from_name_or_uuid()Manager._validate_snapset_name()Manager.activate_snapshot_set()Manager.activate_snapshot_sets()Manager.create_snapshot_set()Manager.create_snapshot_set_boot_entry()Manager.create_snapshot_set_revert_entry()Manager.deactivate_snapshot_set()Manager.deactivate_snapshot_sets()Manager.delete_snapshot_set()Manager.delete_snapshot_sets()Manager.discover_snapshot_sets()Manager.find_snapshot_sets()Manager.find_snapshots()Manager.rename_snapshot_set()Manager.resize_snapshot_set()Manager.revert_snapshot_set()Manager.revert_snapshot_sets()Manager.set_autoactivate()Manager.split_snapshot_set()
ScheduleSchedule.__init__()Schedule.__repr__()Schedule.__str__()Schedule.autoindexSchedule.bootSchedule.calendarspecSchedule.default_size_policySchedule.delete_config()Schedule.disable()Schedule.enable()Schedule.enabledSchedule.from_dict()Schedule.from_file()Schedule.gc()Schedule.gc_policySchedule.json()Schedule.nameSchedule.next_elapseSchedule.revertSchedule.runningSchedule.sourcesSchedule.start()Schedule.stop()Schedule.to_dict()Schedule.write_config()
- snapm.command module
PR_DIFFPR_PLUGINPR_SCHEDULEPR_SNAPSETPR_SNAPSHOTReportObj_activate_cmd()_add_autoactivate_args()_add_create_args()_add_diff_args()_add_identifier_args()_add_json_arg()_add_plugin_subparser()_add_policy_args()_add_report_args()_add_schedule_config_arg()_add_schedule_subparser()_add_snapset_subparser()_add_snapshot_subparser()_autoactivate_cmd()_create_cmd()_deactivate_cmd()_delete_cmd()_diff_cache_opts()_diff_cmd()_diffreport_cmd()_do_print_type()_exec_cmd()_expand_fields()_generic_list_cmd()_list_cmd()_log_debug_command()_mount_cmd()_plugin_list_cmd()_prune_cmd()_rename_cmd()_report_obj_types_report_opts_from_args()_resize_cmd()_revert_cmd()_schedule_create_cmd()_schedule_delete_cmd()_schedule_disable_cmd()_schedule_edit_cmd()_schedule_enable_cmd()_schedule_gc_cmd()_schedule_list_cmd()_schedule_show_cmd()_shell_cmd()_show_cmd()_snapshot_activate_cmd()_snapshot_autoactivate_cmd()_snapshot_deactivate_cmd()_snapshot_list_cmd()_snapshot_show_cmd()_split_cmd()_str_indent()_umount_cmd()create_schedule()create_snapset()delete_schedule()delete_snapset()diff_snapsets()disable_schedule()edit_schedule()enable_schedule()gc_schedule()main()print_diffs()print_plugins()print_schedules()print_snapsets()print_snapshots()prune_snapset()rename_snapset()resize_snapset()revert_snapset()set_debug()setup_logging()show_schedules()show_snapsets()show_snapshots()shutdown_logging()split_snapset()
- snapm.progress module
DEFAULT_FPSNullProgressNullThrobberProgressProgressBaseProgressFactorySimpleProgressSimpleThrobberTermControlTermControl.BELLTermControl.BG_BLACKTermControl.BG_BLUETermControl.BG_CYANTermControl.BG_GREENTermControl.BG_MAGENTATermControl.BG_REDTermControl.BG_WHITETermControl.BG_YELLOWTermControl.BLACKTermControl.BLINKTermControl.BLUETermControl.BOLTermControl.BOLDTermControl.CLEAR_BOLTermControl.CLEAR_EOLTermControl.CLEAR_EOSTermControl.CLEAR_SCREENTermControl.CYANTermControl.DIMTermControl.DOWNTermControl.GREENTermControl.HIDE_CURSORTermControl.LEFTTermControl.MAGENTATermControl.NORMALTermControl.REDTermControl.REVERSETermControl.RIGHTTermControl.SHOW_CURSORTermControl.UPTermControl.WHITETermControl.YELLOWTermControl.__init__()TermControl.columnsTermControl.linesTermControl.render()
ThrobberThrobberBase
- snapm.report module
- snapm.manager._boot module
BootCacheBootEntryCacheREVERT_ARGSNAPSET_ARG_DBUS_MACHINE_ID_DEV_PREFIX_MACHINE_ID_OS_RELEASE_build_swap_list()_create_boom_boot_entry()_create_default_os_profile()_delete_boot_entry()_escape()_get_machine_id()_get_uts_release()_mount_list_to_units()check_boom_config()create_snapset_boot_entry()create_snapset_revert_entry()delete_snapset_boot_entry()delete_snapset_revert_entry()
- snapm.manager._calendar module
- snapm.manager._mounts module
- snapm.manager._schedule module
GcPolicyGcPolicy.__init__()GcPolicy.__repr__()GcPolicy.__str__()GcPolicy.disable()GcPolicy.enable()GcPolicy.enabledGcPolicy.evaluate()GcPolicy.from_cmd_args()GcPolicy.from_dict()GcPolicy.from_json()GcPolicy.has_paramsGcPolicy.json()GcPolicy.nameGcPolicy.paramsGcPolicy.runningGcPolicy.start()GcPolicy.stop()GcPolicy.to_dict()GcPolicy.type
GcPolicyParamsGcPolicyTypeScheduleSchedule.__init__()Schedule.__repr__()Schedule.__str__()Schedule.autoindexSchedule.bootSchedule.calendarspecSchedule.default_size_policySchedule.delete_config()Schedule.disable()Schedule.enable()Schedule.enabledSchedule.from_dict()Schedule.from_file()Schedule.gc()Schedule.gc_policySchedule.json()Schedule.nameSchedule.next_elapseSchedule.revertSchedule.runningSchedule.sourcesSchedule.start()Schedule.stop()Schedule.to_dict()Schedule.write_config()
- snapm.manager._timers module
- snapm.manager.plugins module
PluginPlugin.__init__()Plugin._abc_implPlugin._log_debug()Plugin._log_error()Plugin._log_info()Plugin._log_warn()Plugin.activate_snapshot()Plugin.can_snapshot()Plugin.check_create_snapshot()Plugin.check_resize_snapshot()Plugin.check_revert_snapshot()Plugin.create_snapshot()Plugin.deactivate_snapshot()Plugin.delete_snapshot()Plugin.discover_snapshots()Plugin.end_transaction()Plugin.info()Plugin.namePlugin.origin_from_mount_point()Plugin.rename_snapshot()Plugin.resize_snapshot()Plugin.revert_snapshot()Plugin.set_autoactivate()Plugin.snapshot_classPlugin.start_transaction()Plugin.version
PluginLimitsdecode_mount_point()device_from_mount_point()encode_mount_point()format_snapshot_name()mount_point_space_used()parse_snapshot_name()
- snapm.fsdiff.changes module
- snapm.fsdiff.contentdiff module
- snapm.fsdiff.engine module
DiffEngineFsDiffRecordFsDiffResultsFsDiffResults.DIFF_FORMATSFsDiffResults.__init__()FsDiffResults.__repr__()FsDiffResults.addedFsDiffResults.content_changesFsDiffResults.diff()FsDiffResults.full()FsDiffResults.json()FsDiffResults.modifiedFsDiffResults.movedFsDiffResults.paths()FsDiffResults.removedFsDiffResults.short()FsDiffResults.summary()FsDiffResults.total_changesFsDiffResults.tree()FsDiffResults.type_changed
_log_debug_fsdiff()_log_debug_fsdiff_extra()render_diff_stat()render_unified_diff()
- snapm.fsdiff.filetypes module
FileTypeCategoryFileTypeCategory.ARCHIVEFileTypeCategory.AUDIOFileTypeCategory.BINARYFileTypeCategory.BINARY_LOGFileTypeCategory.BLOCKFileTypeCategory.CERTIFICATEFileTypeCategory.CHARFileTypeCategory.CONFIGFileTypeCategory.DATABASEFileTypeCategory.DIRECTORYFileTypeCategory.DOCUMENTFileTypeCategory.EXECUTABLEFileTypeCategory.FIFOFileTypeCategory.IMAGEFileTypeCategory.LOGFileTypeCategory.SOCKFileTypeCategory.SOURCE_CODEFileTypeCategory.SYMLINKFileTypeCategory.TEXTFileTypeCategory.UNKNOWNFileTypeCategory.VIDEO
FileTypeDetectorFileTypeInfo_generic_guess_file()_guess_binary_file()_guess_file()_guess_text_file()_is_binary_log()_log_debug_fsdiff()
- snapm.fsdiff.fsdiffer module
- snapm.fsdiff.options module
DiffCategoriesDiffOptionsDiffOptions.__init__()DiffOptions.__repr__()DiffOptions.__str__()DiffOptions.content_onlyDiffOptions.exclude_patternsDiffOptions.file_patternsDiffOptions.follow_symlinksDiffOptions.from_cmd_args()DiffOptions.from_pathDiffOptions.ignore_ownershipDiffOptions.ignore_permissionsDiffOptions.ignore_timestampsDiffOptions.include_content_diffsDiffOptions.include_system_dirsDiffOptions.max_content_diff_sizeDiffOptions.max_content_hash_sizeDiffOptions.max_file_sizeDiffOptions.no_mem_checkDiffOptions.quietDiffOptions.use_magic_file_type
- snapm.fsdiff.treewalk module
FsEntryFsEntry.__init__()FsEntry.__str__()FsEntry.broken_symlinkFsEntry.content_hashFsEntry.file_type_infoFsEntry.full_pathFsEntry.gidFsEntry.is_blockFsEntry.is_charFsEntry.is_dirFsEntry.is_fifoFsEntry.is_fileFsEntry.is_sockFsEntry.is_symlinkFsEntry.is_text_likeFsEntry.modeFsEntry.mtimeFsEntry.pathFsEntry.sizeFsEntry.statFsEntry.symlink_targetFsEntry.to_dict()FsEntry.type_descFsEntry.uidFsEntry.xattrs
TreeWalker_ALWAYS_EXCLUDE_PATTERNS_EXCLUDE_SYSTEM_DIRS_NO_CHUNK_PATHS_log_debug_fsdiff()_stat_to_dict()
- Module contents