RepositoryFilesystem is a billy.Filesystem compatible object wrapper which handles dot-git filesystem operations and supports commondir according to git scm layout: https://github.com/git/git/blob/master/Documentation/gitrepository-layout.txt
| 12 | // which handles dot-git filesystem operations and supports commondir according to git scm layout: |
| 13 | // https://github.com/git/git/blob/master/Documentation/gitrepository-layout.txt |
| 14 | type RepositoryFilesystem struct { |
| 15 | dotGitFs billy.Filesystem |
| 16 | commonDotGitFs billy.Filesystem |
| 17 | } |
| 18 | |
| 19 | func NewRepositoryFilesystem(dotGitFs, commonDotGitFs billy.Filesystem) *RepositoryFilesystem { |
| 20 | return &RepositoryFilesystem{ |
nothing calls this directly
no outgoing calls
no test coverage detected