FolderPath return the folder path of the meta info.
()
| 46 | |
| 47 | // FolderPath return the folder path of the meta info. |
| 48 | func (m *FetcherMeta) FolderPath() string { |
| 49 | // check if rename folder |
| 50 | folder := m.Res.Name |
| 51 | if m.Opts.Name != "" { |
| 52 | folder = m.Opts.Name |
| 53 | } |
| 54 | return path.Join(m.Opts.Path, folder) |
| 55 | } |
| 56 | |
| 57 | // SingleFilepath return the single file path of the meta info. |
| 58 | func (m *FetcherMeta) SingleFilepath() string { |
no outgoing calls
no test coverage detected