use context instead of FileRepo...

This commit is contained in:
geekan 2024-01-05 00:41:00 +08:00
parent 5c1f3a4b91
commit 3cd881de56
19 changed files with 78 additions and 93 deletions

View file

@ -24,6 +24,10 @@ class Context:
src_workspace: Optional[Path] = None
cost_manager: CostManager = CostManager()
@property
def file_repo(self):
return self.git_repo.new_file_repository()
@property
def options(self):
"""Return all key-values"""