yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' ( #16428 )
2022-11-15 16:53:13 +03:00
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
Delyan Angelov
2083e6b04c
os: cleanup APIs returning !bool
to either return !
or bool
( #16111 )
2022-10-20 13:56:06 +03:00
Alexander Medvednikov
f731060caf
all: update chmod/chdir usages
2021-08-28 10:23:01 +03:00
Daniel Däschle
ad3835b598
parser: deprecate short struct init ( #10842 )
2021-07-20 11:17:08 +03:00
Delyan Angelov
8a380f4699
tools: make v test-cleancode
test everything by default ( #10050 )
2021-05-08 13:32:29 +03:00
spaceface
b712af56fd
all: bring back panic(err.msg)
-> panic(err)
( #9022 )
2021-03-01 00:18:14 +01:00
spaceface
d63b7bc35a
all: update repo to use the new error handling syntax ( #8950 )
2021-02-28 23:20:21 +03:00
Delyan Angelov
e5a84719ca
all: require calling optfn() ?
/ optfn() or {...}
for fn optfn() ? {}
2021-01-26 16:43:17 +02:00
Larpon
1c5b9db63f
io: introduce a go-like io.util module ( #6323 )
2020-09-08 14:17:01 +02:00