1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/io
Delyan Angelov f427a5241a
os,tools: add os.vtmp_dir()
Use it to consistently place all temporary files created by tests in a overridable folder specific to the user, that is easy to cleanup later.

NOTE: os.temp_dir() on macos returns `/tmp`, and using `/tmp/v` is a problem when multiple unix users are trying to access/create/write to it.
2022-11-03 10:19:51 +02:00
..
util os,tools: add os.vtmp_dir() 2022-11-03 10:19:51 +02:00
buffered_reader.v all: remove unnecessary IError() casts 2022-10-28 19:08:30 +03:00
custom_string_reading_test.v all: remove unnecessary IError() casts 2022-10-28 19:08:30 +03:00
io_cp_test.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
io_test.v all: remove unnecessary IError() casts 2022-10-28 19:08:30 +03:00
io.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
multi_writer_test.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
multi_writer.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
os_file_reader_test.v io: deprecate io.make_reader (not needed anymore) 2021-05-13 10:26:26 +03:00
reader_test.v all: remove unnecessary IError() casts 2022-10-28 19:08:30 +03:00
reader.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
readerwriter.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
README.md docs: adding skeleton README.md files for all vlib modules (#13034) 2022-01-05 18:06:08 +02:00
writer.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00

Description:

io provides common interfaces for buffered reading/writing of data.