code: func (f *Field) loadMeta() error {
  	var pb internal.FieldOptions
  
  	// Read data from meta file.
  	buf, err := ioutil.ReadFile(filepath.Join(f.path, ".meta"))
  	if os.IsNotExist(err) {
  		return nil
  	} else if err != nil {
  		return errors.Wrap(err, "reading meta")
  	} else {
  		if err := proto.Unmarshal(buf, &pb); err != nil {
  			return errors.Wrap(err, "unmarshaling")
  		}
  	}
  
  	// Copy metadata fields.
  	f.options.Type = pb.Type
  	f.options.CacheType = pb.CacheType
  	f.options.CacheSize = pb.CacheSize
  	f.options.Min = pb.Min
  	f.options.Max = pb.Max
  	f.options.TimeQuantum = TimeQuantum(pb.TimeQuantum)
  	f.options.Keys = pb.Keys
  	f.options.NoStandardView = pb.NoStandardView
  
  	return nil
  }
docs: // loadMeta reads meta data for the field, if any.