code: func (dc *Datacenter) GetDatastoreByPath(ctx context.Context, vmDiskPath string) (*Datastore, error) {
  	datastorePathObj := new(object.DatastorePath)
  	isSuccess := datastorePathObj.FromString(vmDiskPath)
  	if !isSuccess {
  		klog.Errorf("Failed to parse vmDiskPath: %s", vmDiskPath)
  		return nil, errors.New("Failed to parse vmDiskPath")
  	}
  
  	return dc.GetDatastoreByName(ctx, datastorePathObj.Datastore)
  }
docs: // GetDatastoreByPath gets the Datastore object from the given vmDiskPath