module DiffCrystalFormat

Defined in:

diff_crystal_format.cr

Constant Summary

VERSION = "0.1.0"

Class Method Summary

Class Method Detail

def self.diffs(fnames, diff_opts = ["-u"]) #

Returns diffs of files which will be changed.


[View source]
def self.fnames_with_changes(dirnames_or_fnames = [] of String) #

Returns file names which will be changed.


[View source]
def self.invoked_as_an_application? #

Kludgey equivalent for Ruby's $PROGRAM_NAME == __FILE__ idiom.


[View source]
def self.run(argv = ARGV) #

Runs the application.


[View source]
def self.safe_fname(fname) #

Returns string with characters unsuitable for file paths replaced.


[View source]