lib/libdolt/git.rb in libdolt-0.18.0 vs lib/libdolt/git.rb in libdolt-0.19.0

- old
+ new

@@ -36,7 +36,12 @@ end def self.binary=(path) @binary = path end + + def self.git_repo?(path) + return true if path.split(".").last == "git" + File.exists?(File.join(path, ".git")) + end end end