func ReceiveSnapshot(input io.Reader, name string) (*Dataset, error) {
	c := command{Command: "zfs", Stdin: input}
	_, err := c.Run("receive", name)
	if err != nil {
		return nil, err
	}
	return GetDataset(name)
}
func ReceiveSnapshot(input io.Reader, name string) (*Dataset, error) {
	c := command{Command: "zfs", Stdin: input}
	_, err := c.Run("receive", name)
	if err != nil {
		return nil, err
	}
	return GetDataset(name)
}
func ReceiveSnapshot ( input io . Reader , name string ) ( * Dataset , error ) { c := command { Command : " " , Stdin : input } _ , err := c . Run ( " " , name ) if err != nil { return nil , err } return GetDataset ( name ) }
// ReceiveSnapshot receives a ZFS stream from the input io.Reader, creates a
// new snapshot with the specified name, and streams the input data into the
// newly-created snapshot.
ReceiveSnapshot receives a ZFS stream from the input io . Reader creates a new snapshot with the specified name and streams the input data into the newly - created snapshot .