(file any)
| 814 | } |
| 815 | |
| 816 | func (f *FileField) getFileName(file any) string { |
| 817 | switch v := file.(type) { |
| 818 | case string: |
| 819 | return v |
| 820 | case *filesystem.File: |
| 821 | return v.Name |
| 822 | default: |
| 823 | return "" |
| 824 | } |
| 825 | } |
no outgoing calls
no test coverage detected