Class: Dotsync::PullActionConfig
- Inherits:
-
BaseConfig
- Object
- BaseConfig
- Dotsync::PullActionConfig
- Includes:
- SyncMappings, XDGBaseDirectory
- Defined in:
- lib/dotsync/config/pull_action_config.rb
Constant Summary
Constants included from SyncMappings
SyncMappings::MAPPINGS_KEY, SyncMappings::SHORTHANDS, SyncMappings::SYNC_SECTION
Constants included from PathUtils
Dotsync::PathUtils::ENV_VARS_COLOR
Instance Method Summary collapse
Methods included from SyncMappings
#has_sync_mappings?, #sync_mappings_for_pull, #sync_mappings_for_push
Methods included from XDGBaseDirectory
#xdg_bin_home, #xdg_cache_home, #xdg_config_home, #xdg_data_home
Methods inherited from BaseConfig
Methods included from PathUtils
#colorize_env_vars, #expand_env_vars, #extract_env_vars, #path_is_parent_or_same?, #relative_to_absolute, #sanitize_path, #translate_tmp_path
Constructor Details
This class inherits a constructor from Dotsync::BaseConfig
Instance Method Details
#backups_root ⇒ Object
12 13 14 |
# File 'lib/dotsync/config/pull_action_config.rb', line 12 def backups_root File.join(xdg_data_home, "dotsync", "backups") end |
#manifests_xdg_data_home ⇒ Object
16 17 18 |
# File 'lib/dotsync/config/pull_action_config.rb', line 16 def manifests_xdg_data_home xdg_data_home end |
#mappings ⇒ Object
8 9 10 |
# File 'lib/dotsync/config/pull_action_config.rb', line 8 def mappings section_mappings + sync_mappings_for_pull end |