protected function get_local_path_from_storedfile(stored_file $file, $fetchifnotfound = false) {
        return $this->get_local_path_from_hash($file->get_contenthash(), $fetchifnotfound);
    }
protected function get_local_path_from_storedfile(stored_file $file, $fetchifnotfound = false) {
        return $this->get_local_path_from_hash($file->get_contenthash(), $fetchifnotfound);
    }
protected function get_local_path_from_storedfile ( stored_file $ file , $ fetchifnotfound = false ) { return $ this -> get_local_path_from_hash ( $ file -> get_contenthash ( ) , $ fetchifnotfound ) ; }
Get the full path on disk for the specified stored file.

Note: This must return a consistent path for the file's contenthash
and the path _will_ be in a standard local format.
Streamable paths will not work.
A local copy of the file _will_ be fetched if $fetchifnotfound is tree.

The $fetchifnotfound allows you to determine the expected path of the file.

@param stored_file $file The file to serve.
@param bool $fetchifnotfound Whether to attempt to fetch from the remote path if not found.
@return string full path to pool file with file content
Get the full path on disk for the specified stored file .