listSnapshots

Undocumented in source. Be warned that the author may not have intended to support it.
@SILdoc(`List the snapshots of the ZFS dataset. Params: string datasetName: the name of the dataset Returns: string[] the names of the snapshots Errors: NameInvalid: if the dataset name is invalid. NameTooLong: if the dataset name is too long. DatasetNotFound: if the dataset does not exist. warning: If the dataset does not exist, then the returned iterator would produce no results and no error is reported. That case is indistinguishable from the dataset having no snapshots. An attempt to list snapshots of a snapshot is silently ignored as well. `)
string[]
listSnapshots
(,
bool recursive = false
,
bool useSudo = true
)

Meta