Module
Homesick::Utils
In:
lib/homesick/utils.rb
Various utility methods that are used by
Homesick
Methods
all_castles
castle_dir
check_castle_existance
collision_accepted?
commit_castle
each_file
home_dir
inside_each_castle
more_recent?
move_dir_contents
push_castle
repos_dir
setup_castle
subdir_add
subdir_file
subdir_remove
subdirs
symlink_each
unsymlink_each
update_castle
Constants
QUIETABLE
=
[:say_status]
PRETENDABLE
=
[:system]
Protected Instance methods
all_castles
()
castle_dir
(name)
check_castle_existance
(name, action)
collision_accepted?
(destination, source)
commit_castle
(castle, message)
each_file
(castle, basedir, subdirs) {|absolute_path, home_path| ...}
home_dir
()
inside_each_castle
() {|castle| ...}
more_recent?
(first, second)
move_dir_contents
(target, dir_path)
push_castle
(castle)
repos_dir
()
setup_castle
(path)
subdir_add
(castle, path)
subdir_file
(castle)
subdir_remove
(castle, path)
subdirs
(castle)
symlink_each
(castle, basedir, subdirs)
unsymlink_each
(castle, basedir, subdirs)
update_castle
(castle)
[Validate]