original_string: public function add_file_to_pool($pathname, $contenthash = null, $newrecord = null) {
          $this->call_before_file_created_plugin_functions($newrecord, $pathname);
          return $this->filesystem->add_file_from_path($pathname, $contenthash);
      }
code: public function add_file_to_pool($pathname, $contenthash = null, $newrecord = null) {
          $this->call_before_file_created_plugin_functions($newrecord, $pathname);
          return $this->filesystem->add_file_from_path($pathname, $contenthash);
      }
code_tokens: public function add_file_to_pool ( $ pathname , $ contenthash = null , $ newrecord = null ) { $ this -> call_before_file_created_plugin_functions ( $ newrecord , $ pathname ) ; return $ this -> filesystem -> add_file_from_path ( $ pathname , $ contenthash ) ; }
docstring: Add file content to sha1 pool.
  
  @param string $pathname path to file
  @param string|null $contenthash sha1 hash of content if known (performance only)
  @param stdClass|null $newrecord New file record
  @return array (contenthash, filesize, newfile)
docstring_tokens: Add file content to sha1 pool .