(oid string)
| 141 | } |
| 142 | |
| 143 | func (f *Filesystem) ObjectReferencePaths(oid string) []string { |
| 144 | if len(f.ReferenceDirs) == 0 { |
| 145 | return nil |
| 146 | } |
| 147 | |
| 148 | var paths []string |
| 149 | for _, ref := range f.ReferenceDirs { |
| 150 | paths = append(paths, filepath.Join(ref, oid[0:2], oid[2:4], oid)) |
| 151 | } |
| 152 | return paths |
| 153 | } |
| 154 | |
| 155 | func (f *Filesystem) LFSObjectDir() string { |
| 156 | f.mu.Lock() |
no outgoing calls
no test coverage detected