Module: Braid

Defined in:
lib/braid.rb,
lib/braid/config.rb,
lib/braid/mirror.rb,
lib/braid/command.rb,
lib/braid/operations.rb,
lib/braid/commands/add.rb,
lib/braid/commands/diff.rb,
lib/braid/commands/setup.rb,
lib/braid/commands/remove.rb,
lib/braid/commands/update.rb

Defined Under Namespace

Modules: Commands, Operations Classes: BraidError, Command, Config, Mirror

Constant Summary collapse

VERSION =
"0.5"
CONFIG_FILE =

CONFIG_FILE = “.braids” CONFIG_FILE = “CONFIGFILE”

".gitnest"
REQUIRED_GIT_VERSION =
"1.6"

Class Method Summary collapse

Class Method Details

.local_cache_dirObject



16
# File 'lib/braid.rb', line 16

def self.local_cache_dir; File.expand_path(ENV["BRAID_LOCAL_CACHE_DIR"] || "#{ENV["HOME"]}/.braid/cache"); end

.use_local_cacheObject

def self.use_local_cache; [nil, “true”, “1”].include?(ENV); end



15
# File 'lib/braid.rb', line 15

def self.use_local_cache; false; end

.verboseObject



11
# File 'lib/braid.rb', line 11

def self.verbose; @verbose || false; end

.verbose=(new_value) ⇒ Object



12
# File 'lib/braid.rb', line 12

def self.verbose=(new_value); @verbose = !!new_value; end