Module return a billy.Filesystem pointing to the module folder
(name string)
| 1110 | |
| 1111 | // Module return a billy.Filesystem pointing to the module folder |
| 1112 | func (d *DotGit) Module(name string) (billy.Filesystem, error) { |
| 1113 | return d.fs.Chroot(d.fs.Join(modulePath, name)) |
| 1114 | } |
| 1115 | |
| 1116 | func (d *DotGit) AddAlternate(remote string) error { |
| 1117 | altpath := d.fs.Join(objectsPath, infoPath, alternatesPath) |