MCPcopy Create free account
hub / github.com/apache/avro / add_data_file

Method add_data_file

lang/php/test/DataFileTest.php:52–61  ·  view source on GitHub ↗
($data_file)

Source from the content-addressed store, hash-verified

50 }
51
52 protected function add_data_file($data_file)
53 {
54 if (is_null($this->data_files)) {
55 $this->data_files = array();
56 }
57 $data_file = "$data_file." . self::current_timestamp();
58 $full = join(DIRECTORY_SEPARATOR, array(TEST_TEMP_DIR, $data_file));
59 $this->data_files [] = $full;
60 return $full;
61 }
62
63 public static function current_timestamp()
64 {

Calls 1

current_timestampMethod · 0.95

Tested by

no test coverage detected