func (f *File) GetField(field Field) interface{} {
	switch field {
	case Name:
		return f.Name
	case Extension:
		return f.Extension
	case Path:
		return f.Path
	case Age:
		return f.Age
	case Size:
		return f.SizeBytes
	default:
		panic("NOT IMPLEMENTED")
	}
}
// GetField returns the field value for this file.
GetField returns the field value for this file.
// GetField returns the field value for this file .
func (f *File) GetField(field Field) interface{} {
	switch field {
	case Name:
		return f.Name
	case Extension:
		return f.Extension
	case Path:
		return f.Path
	case Age:
		return f.Age
	case Size:
		return f.SizeBytes
	default:
		panic("NOT IMPLEMENTED")
	}
}
func ( f * File ) GetField ( field Field ) interface { } { switch field { case Name : return f . Name case Extension : return f . Extension case Path : return f . Path case Age : return f . Age case Size : return f . SizeBytes default : panic ( " " ) } }
GetField returns the field value for this file.
GetField returns the field value for this file .