Sha256: 3ad57859e77f37c296065d3b3c9829243749d98119b12b4ed2bde263df0d8d26

Contents?: true

Size: 596 Bytes

Versions: 24

Compression:

Stored size: 596 Bytes

Contents

put_target_file("INST/test.txt", "this is a string test")
file = get_target_file("INST/test.txt")
puts file.read
file.delete
delete_target_file("INST/test.txt")

save_file = Tempfile.new('test')
save_file.write("this is a Io test")
save_file.rewind
put_target_file("INST/test.txt", save_file)
save_file.delete
file = get_target_file("INST/test.txt")
puts file.read
file.delete
delete_target_file("INST/test.txt")

put_target_file("INST/test.bin", "\x00\x01\x02\x03\xFF\xEE\xDD\xCC")
file = get_target_file("INST/test.bin")
puts file.read.formatted
file.delete
delete_target_file("INST/test.bin")

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
openc3-cosmos-demo-5.6.1 targets/INST/procedures/target_file.rb
openc3-cosmos-demo-5.6.0 targets/INST/procedures/target_file.rb
openc3-cosmos-demo-5.5.2 targets/INST/procedures/target_file.rb
openc3-cosmos-demo-5.5.2.pre.beta0.20230315041141 targets/INST/procedures/target_file.rb
openc3-cosmos-demo-5.5.1 targets/INST/procedures/target_file.rb
openc3-cosmos-demo-5.5.0 targets/INST/procedures/target_file.rb
openc3-cosmos-demo-5.5.0.pre.beta0.20230217010435 targets/INST/procedures/target_file.rb
openc3-cosmos-demo-5.4.3.pre.beta0.20230214173509 targets/INST/procedures/target_file.rb
openc3-cosmos-demo-5.4.2 targets/INST/procedures/target_file.rb
openc3-cosmos-demo-5.4.1 targets/INST/procedures/target_file.rb
openc3-cosmos-demo-5.4.0 targets/INST/procedures/target_file.rb
openc3-cosmos-demo-5.3.0 targets/INST/procedures/target_file.rb
openc3-cosmos-demo-5.2.0 targets/INST/procedures/target_file.rb
openc3-cosmos-demo-5.1.1 targets/INST/procedures/target_file.rb
openc3-cosmos-demo-5.1.0 targets/INST/procedures/target_file.rb
openc3-demo-5.0.11 targets/INST/procedures/target_file.rb
openc3-demo-5.0.10 targets/INST/procedures/target_file.rb
openc3-demo-5.0.9 targets/INST/procedures/target_file.rb
openc3-demo-5.0.8 targets/INST/procedures/target_file.rb
openc3-demo-5.0.7 targets/INST/procedures/target_file.rb