(s storage.Storer, worktree billy.Filesystem)
| 494 | } |
| 495 | |
| 496 | func newRepository(s storage.Storer, worktree billy.Filesystem) *Repository { |
| 497 | return &Repository{ |
| 498 | Storer: s, |
| 499 | wt: worktree, |
| 500 | r: make(map[string]*Remote), |
| 501 | } |
| 502 | } |
| 503 | |
| 504 | func checkIfCleanupIsNeeded(path string) (cleanup bool, cleanParent bool, err error) { |
| 505 | fi, err := osfs.Default.Stat(path) |
no outgoing calls