(v int64)
| 476 | } |
| 477 | |
| 478 | func clampToInt(v int64) int { |
| 479 | if v > math.MaxInt { |
| 480 | return math.MaxInt |
| 481 | } |
| 482 | if v < math.MinInt { |
| 483 | return math.MinInt |
| 484 | } |
| 485 | return int(v) |
| 486 | } |
| 487 | |
| 488 | func getRecycleBinDTOFromName(filename string) (*response.RecycleBinDTO, error) { |
| 489 | matches := re.GetRegex(re.RecycleBinFilePattern).FindStringSubmatch(filename) |
no outgoing calls
no test coverage detected