Name is base name of the file
()
| 165 | |
| 166 | // Name is base name of the file |
| 167 | func (to *FileInfo) Name() string { |
| 168 | return enc.FromStandardName(path.Base(to.entry.Remote())) |
| 169 | } |
| 170 | |
| 171 | // Size in bytes for regular files; system-dependent for others |
| 172 | func (to *FileInfo) Size() int64 { |