FilepathList returns list of paths to files in package repository
(packagePool aptly.PackagePool)
| 778 | |
| 779 | // FilepathList returns list of paths to files in package repository |
| 780 | func (p *Package) FilepathList(packagePool aptly.PackagePool) ([]string, error) { |
| 781 | var err error |
| 782 | result := make([]string, len(p.Files())) |
| 783 | |
| 784 | for i, f := range p.Files() { |
| 785 | result[i], err = f.GetPoolPath(packagePool) |
| 786 | if err != nil { |
| 787 | return nil, err |
| 788 | } |
| 789 | } |
| 790 | |
| 791 | return result, nil |
| 792 | } |
nothing calls this directly
no test coverage detected