o .&ßaÑã@s<ddlmZddlmZddlmZ d dd„Zdd„Zd S) é)Ú SizeOnlySync)ÚExactTimestampsSync)Ú DeleteSyncÚfile_at_src_and_destcCs||ƒ}| |¡dS)a\Registers a single sync strategy :param session: The session that the sync strategy is being registered to. :param strategy_cls: The class of the sync strategy to be registered. :param sync_type: A string representing when to perform the sync strategy. See ``__init__`` method of ``BaseSyncStrategy`` for possible options. N)Úregister_strategy)ÚsessionÚ strategy_clsÚ sync_typeÚstrategy©r úP/usr/lib/python3/dist-packages/awscli/customizations/s3/syncstrategy/register.pyÚregister_sync_strategys r cKs$t|tƒt|tƒt|tdƒdS)z×Registers the different sync strategies. To register a sync strategy add ``register_sync_strategy(session, YourSyncStrategyClass, sync_type)`` to the list of registered strategies in this function. Úfile_not_at_srcN)r rrr)Ú command_tablerÚkwargsr r r Úregister_sync_strategies s rN)r)Ú.awscli.customizations.s3.syncstrategy.sizeonlyrÚ5awscli.customizations.s3.syncstrategy.exacttimestampsrÚ,awscli.customizations.s3.syncstrategy.deleterr rr r r r Ús   ÿ