Grav mkdir function

Im searching help for grav mkdir function. I thinked it is php native mkdir but not. Following code will result to

 $path = $this->path();
if (is_dir($this->path)) {
    return false;
}
else {
mkdir($path, 0775, true);
}

“mkdir() not allowed for plugin://login/pages/.revs”

here is grav mkdir function

vendor/rockettheme/toolbox/StreamWrapper/src/ReadOnlyStream.php

#[\ReturnTypeWillChange]
    public function mkdir($uri, $mode, $options)
    {
        throw new BadMethodCallException(sprintf('mkdir() not allowed for %s', $uri));
    }

3 posts were merged into an existing topic: Mkdir() not allowed for plugin://login/pages/.revs