(path string, limit uint64, opts listOptions)
| 82 | } |
| 83 | |
| 84 | func newRevsInput(path string, limit uint64, opts listOptions) revsInput { |
| 85 | return revsInput{ |
| 86 | Path: path, |
| 87 | Limit: limit, |
| 88 | Long: opts.long, |
| 89 | Time: opts.timeField, |
| 90 | TimeFormat: opts.timeFormat, |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | func jsonMetadataListFromRevisions(entries []*files.FileMetadata) ([]jsonMetadata, error) { |
| 95 | result := make([]jsonMetadata, 0, len(entries)) |
no outgoing calls
no test coverage detected