vsphere/internal/helper/folder/folder_helper.go
func datastoreRootPathFromHostSystemID(client *govmomi.Client, hsID string) (string, error) {
	hs, err := hostsystem.FromID(client, hsID)
	if err != nil {
		return "", err
	}
	return RootPathParticleHost.NewRootFromPath(hs.InventoryPath, RootPathParticleDatastore)
}
func datastoreRootPathFromHostSystemID(client *govmomi.Client, hsID string) (string, error) {
	hs, err := hostsystem.FromID(client, hsID)
	if err != nil {
		return "", err
	}
	return RootPathParticleHost.NewRootFromPath(hs.InventoryPath, RootPathParticleDatastore)
}
func datastoreRootPathFromHostSystemID ( client * govmomi . Client , hsID string ) ( string , error ) { hs , err := hostsystem . FromID ( client , hsID ) if err != nil { return " " , err } return RootPathParticleHost . NewRootFromPath ( hs . InventoryPath , RootPathParticleDatastore ) }
// datastoreRootPathFromHostSystemID returns the root datastore folder path
// for a specific host system ID.
datastoreRootPathFromHostSystemID returns the root datastore folder path for a specific host system ID .