()
| 48 | } |
| 49 | |
| 50 | func (c *commandMount) newFSCache() cachefs.DirectoryCacher { |
| 51 | return cachefs.NewCache(&cachefs.Options{ |
| 52 | MaxCachedDirectories: c.maxCachedDirectories, |
| 53 | MaxCachedEntries: c.maxCachedEntries, |
| 54 | }) |
| 55 | } |
| 56 | |
| 57 | func (c *commandMount) run(ctx context.Context, rep repo.Repository) error { |
| 58 | var entry fs.Directory |