Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(0)  |  Derive(0)  |  Import(6)
Take the cached value of `key` and put it into the key `setting` of
the destination.settings dict. Merge the values by overlaying the
cached setting over the existing info.

:param destination:
    An object that has a `.settings` attribute that is a dict

:param setting:
    The dict key to use when pushing the value into the settings dict
(more...)

        def merge_cache_over_settings(destination, setting, key_prefix):
    """
    Take the cached value of `key` and put it into the key `setting` of
    the destination.settings dict. Merge the values by overlaying the
    cached setting over the existing info.

    :param destination:
        An object that has a `.settings` attribute that is a dict

    :param setting:
        The dict key to use when pushing the value into the settings dict

    :param key_prefix:
        The string to prefix to `setting` to make the cache key
    """

    existing = destination.settings.get(setting, {})
    value = get_cache(key_prefix + '.' + setting, {})
    if value:
        existing.update(value)
        destination.settings[setting] = existing
        


src/c/h/ChocolateyPackages-HEAD/EthanBrown.SublimeText2.UtilPackages/tools/PackageCache/Package Control/package_control/package_manager.py   ChocolateyPackages(Download)
from .unicode import unicode_from_os
from .clear_directory import clear_directory
from .cache import (clear_cache, set_cache, get_cache, merge_cache_under_settings,
    merge_cache_over_settings, set_cache_under_settings, set_cache_over_settings)
from .versions import version_comparable, version_sort

src/a/l/Alfred-Popclip-Sublime-HEAD/Sublime Text 2/Package Control/package_control/package_manager.py   Alfred-Popclip-Sublime(Download)
from .unicode import unicode_from_os
from .clear_directory import clear_directory
from .cache import (clear_cache, set_cache, get_cache, merge_cache_under_settings,
    merge_cache_over_settings, set_cache_under_settings, set_cache_over_settings)
from .versions import version_comparable, version_sort

src/s/u/Sublime-Text-2-Settings-HEAD/Package Control/package_control/package_manager.py   Sublime-Text-2-Settings(Download)
from .unicode import unicode_from_os
from .clear_directory import clear_directory
from .cache import (clear_cache, set_cache, get_cache, merge_cache_under_settings,
    merge_cache_over_settings, set_cache_under_settings, set_cache_over_settings)
from .versions import version_comparable, version_sort

src/f/e/FED-Sublime-Settings-HEAD/Package Control/package_control/package_manager.py   FED-Sublime-Settings(Download)
from .unicode import unicode_from_os
from .clear_directory import clear_directory
from .cache import (clear_cache, set_cache, get_cache, merge_cache_under_settings,
    merge_cache_over_settings, set_cache_under_settings, set_cache_over_settings)
from .versions import version_comparable, version_sort

src/s/u/Sublime-Rails-Settings-HEAD/Package Control/package_control/package_manager.py   Sublime-Rails-Settings(Download)
from .unicode import unicode_from_os
from .clear_directory import clear_directory
from .cache import (clear_cache, set_cache, get_cache, merge_cache_under_settings,
    merge_cache_over_settings, set_cache_under_settings, set_cache_over_settings)
from .versions import version_comparable, version_sort

src/s/u/sublime_package_control-HEAD/package_control/package_manager.py   sublime_package_control(Download)
from .rmtree import rmtree
from .clear_directory import clear_directory
from .cache import (clear_cache, set_cache, get_cache, merge_cache_under_settings,
    merge_cache_over_settings, set_cache_under_settings, set_cache_over_settings)
from .versions import version_comparable, version_sort