code: public function createDir($dirname, Config $config)
      {
          try {
              $this->container->createDir($dirname);
          } catch (ApiRequestFailedException $e) {
              return false;
          }
  
          return $this->getMetadata($dirname);
      }
docs: {@inheritdoc}