code: func (m *DatastoreFileManager) Delete(ctx context.Context, name string) error {
  	switch path.Ext(name) {
  	case ".vmdk":
  		return m.DeleteVirtualDisk(ctx, name)
  	default:
  		return m.DeleteFile(ctx, name)
  	}
  }
docs: // Delete dispatches to the appropriate Delete method based on file name extension