MCPcopy
hub / github.com/rclone/rclone / Name

Method Name

cmd/tree/tree.go:167–169  ·  view source on GitHub ↗

Name is base name of the file

()

Source from the content-addressed store, hash-verified

165
166// Name is base name of the file
167func (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
172func (to *FileInfo) Size() int64 {

Callers 4

Calls 3

BaseMethod · 0.80
FromStandardNameMethod · 0.65
RemoteMethod · 0.65

Tested by 4