示例#1
0
 def store_index(self, issue_id):
     loc = self._generate_index_path(
         Path(issue_id)) if issue_id is not None else self._path_to_index
     JsonConvert.ToFile(self, loc)
     gm = GitManager()
     gm.add_to_index([str(loc)])
示例#2
0
 def store_tracker(self):
     JsonConvert.ToFile(self, Tracker.get_path())
     gm = GitManager()
     gm.add_to_index([str(Tracker.get_path())])