public function createDirectory($name)
 {
     if (static::$allowCreateRootCollections) {
         return Collection::getOrCreateRootCollection($name);
     } else {
         throw new \Sabre\DAV\Exception\Forbidden('Creating root collections is not permitted on this site');
     }
 }