Add support for unpacking tars with hardlinks by NilsIrl · Pull Request #21092 · ziglang/zig

@NilsIrl

@NilsIrl

alexrp

alexrp

Comment on lines +728 to +730

if (native_os == .windows) {
return error.UnableToCreateHardLink;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of precaution and without a concrete example, I would not assume they work in the same way

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say open a follow-up issue for hard links on Windows. I'm not familiar enough with hard links to know how Windows/POSIX hard links differ.

@NilsIrl