(s storage.Storer, worktree billy.Filesystem)
| 501 | } |
| 502 | |
| 503 | func newRepository(s storage.Storer, worktree billy.Filesystem) *Repository { |
| 504 | return &Repository{ |
| 505 | Storer: s, |
| 506 | wt: worktree, |
| 507 | r: make(map[string]*Remote), |
| 508 | } |
| 509 | } |
| 510 | |
| 511 | func checkIfCleanupIsNeeded(path string) (cleanup bool, cleanParent bool, err error) { |
| 512 | fi, err := osfs.Default.Stat(path) |
no outgoing calls
searching dependent graphs…