comparison foodtruck/scm/base.py @ 587:d4a01a023998

admin: Add "FoodTruck" admin panel from the side experiment project.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 16 Jan 2016 14:24:35 -0800
parents
children 3cec8634209a
comparison
equal deleted inserted replaced
586:59268b4d8c71 587:d4a01a023998
1
2
3 class RepoStatus(object):
4 def __init__(self):
5 self.new_files = []
6 self.edited_files = []
7
8
9 class SourceControl(object):
10 def __init__(self, root_dir):
11 self.root_dir = root_dir
12
13 def getStatus(self):
14 raise NotImplementedError()
15
16 def commit(self, paths, author, message):
17 raise NotImplementedError()
18