コード例 #1
0
 def Diff(self, src, dest, rpms, no_files, names_only):
     diff = Diff()
     args = self.Args()
     args.compares = [src, dest]
     args.verbose = True
     args.no_files = no_files
     args.names_only = names_only
     args.rpms = rpms
     diff.set_args(args)
     return json.dumps(diff.diff())
コード例 #2
0
ファイル: atomic_dbus.py プロジェクト: jwhonce/atomic
 def Diff(self, src, dest, rpms, no_files, names_only):
     diff = Diff()
     args = self.Args()
     args.compares = [src, dest]
     args.verbose = True
     args.no_files = no_files
     args.names_only = names_only
     args.rpms = rpms
     diff.set_args(args)
     return json.dumps(diff.diff())
コード例 #3
0
ファイル: atomic_dbus.py プロジェクト: shishir-a412ed/atomic
 def Diff(self, first, second):
     diff = Diff()
     args = self.Args()
     args.compares = [first, second]
     args.json = True
     args.no_files = False
     args.names_only = False
     args.rpms = True
     args.verbose = True
     diff.set_args(args)
     return diff.diff()
コード例 #4
0
 def Diff(self, first, second):
     diff = Diff()
     args = self.Args()
     args.compares = [first, second]
     args.json = True
     args.no_files = False
     args.names_only = False
     args.rpms = True
     args.verbose = True
     diff.set_args(args)
     return diff.diff()
コード例 #5
0
ファイル: atomic_dbus.py プロジェクト: voor/atomic
 def Diff(self, src, dest, rpms, no_files, names_only, diff_keywords, metadata):
     diff = Diff()
     args = self.Args()
     args.compares = [src, dest]
     args.verbose = True
     args.no_files = no_files
     args.names_only = names_only
     args.rpms = rpms
     args.keywords = diff_keywords
     args.metadata = metadata
     diff.set_args(args)
     return json.dumps(diff.diff())