Skip to content
Snippets Groups Projects
Commit 72bbb9ca authored by Björn Schießle's avatar Björn Schießle
Browse files

allow to remove and change mount points

parent b02b6d3c
Branches
No related tags found
No related merge requests found
......@@ -23,6 +23,13 @@ class Manager {
$this->mounts[$mount->getMountPoint()] = $mount;
}
/**
* @param string $mountPoint
*/
public function removeMount($mountPoint) {
unset($this->mounts[$mountPoint]);
}
/**
* Find the mount for $path
*
......
......@@ -65,6 +65,13 @@ class Mount {
return $this->mountPoint;
}
/**
* @param string $mountPoint new mount point
*/
public function setMountPoint($mountPoint) {
$this->mountPoint = $mountPoint;
}
/**
* create the storage that is mounted
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment