mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-05 06:48:49 +00:00
add comment
This commit is contained in:
@@ -30,6 +30,7 @@ def run(cmd, log=False, raw=True):
|
||||
|
||||
|
||||
def diff(src, dst, log=False, raw=True, opts=''):
|
||||
''' call diff to compare two files '''
|
||||
cmd = 'diff -r %s \"%s\" \"%s\"' % (opts, src, dst)
|
||||
return run(shlex.split(cmd), log=log, raw=raw)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user