(id string)
| 67 | } |
| 68 | |
| 69 | func (d *FebBox) getFilesList(id string) ([]File, error) { |
| 70 | if d.PageSize <= 0 { |
| 71 | d.PageSize = 100 |
| 72 | } |
| 73 | res, err := d.listWithLimit(id, d.PageSize) |
| 74 | if err != nil { |
| 75 | return nil, err |
| 76 | } |
| 77 | return *res, nil |
| 78 | } |
| 79 | |
| 80 | func (d *FebBox) listWithLimit(dirID string, pageLimit int64) (*[]File, error) { |
| 81 | var files []File |