aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread.zig
diff options
context:
space:
mode:
authorIgor Anić <igor.anic@gmail.com>2024-04-11 16:32:07 +0200
committerAndrew Kelley <andrew@ziglang.org>2024-07-03 12:12:50 -0700
commit035c1b65229083e01bc5ec69f2ad529ba0c56062 (patch)
treeb7e5ed6d5e6d2da7a8f19d68191ad748ff1bc83a /lib/std/Thread.zig
parentfe66a12a23eda90b89b06dc28957f3baac01ee89 (diff)
downloadzig-035c1b65229083e01bc5ec69f2ad529ba0c56062.tar.gz
zig-035c1b65229083e01bc5ec69f2ad529ba0c56062.zip
std.tar: add strip components error to diagnostics
This was the only kind of error which was raised in pipeToFileSystem and not added to Diagnostics. Shell tar silently ignores paths which are stripped out when used with `--strip-components` switch. This enables that same behavior, errors will be collected in diagnostics but caller is free to ignore that type of diagnostics errors. Enables use case where caller knows structure of the tar file and want to extract only some deeply nested folders ignoring upper files/folders. Fixes: #17620 by giving caller options: - not provide diagnostic and get errors - provide diagnostics and analyze errors - provide diagnostics and ignore errors
Diffstat (limited to 'lib/std/Thread.zig')
0 files changed, 0 insertions, 0 deletions