public function getVersions($path)
{
// Non-editable repositories always contain only one version of a resource
try {
return new VersionList($path, array($this->get($path)));
} catch (ResourceNotFoundException $e) {
throw NoVersionFoundException::forPath($path, $e);
}
}