MCPcopy Create free account
hub / github.com/apache/arrow / create_file

Method create_file

c_glib/test/file-system-tests.rb:31–35  ·  view source on GitHub ↗
(path, content=nil)

Source from the content-addressed store, hash-verified

29 end
30
31 private def create_file(path, content=nil)
32 stream = @fs.open_output_stream(path)
33 stream.write(content) if content
34 stream.close
35 end
36
37 private def read_file(path)
38 stream = @fs.open_input_stream(path)

Callers

nothing calls this directly

Calls 3

open_output_streamMethod · 0.45
writeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected