Sha256: 20c55b3924bae1df1717b26682bcf4a422d53ba98474f2dd7e294c600715f709
Contents?: true
Size: 652 Bytes
Versions: 10
Compression:
Stored size: 652 Bytes
Contents
# frozen_string_literal: true require 'eac_fs/storage_tree' require 'eac_ruby_utils/simple_cache' module Ehbrs module UserDirs class << self include ::EacRubyUtils::SimpleCache def application_id 'ehbrs-tools' end private def user_home_dir_uncached ::EacFs::StorageTree.new(ENV['HOME']) end def cache_uncached user_home_dir.child('.cache', application_id) end def config_uncached user_home_dir.child('.config', application_id) end def data_uncached user_home_dir.child('.local', 'share', application_id) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems