# Move symlink to fs.symlinkAbsolute with SymlinkFlags · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/fc7d87fef19964273eb65e8cee05eaffa7a9e72f)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: fc7d87fef19964273eb65e8cee05eaffa7a9e72f

Requested commit: fc7d87fef19964273eb65e8cee05eaffa7a9e72f

Commit: fc7d87fef19964273eb65e8cee05eaffa7a9e72f

Tree: fcba1d78951806d07f3cd02bd5fbdb35d36148a6

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
Move symlink to fs.symlinkAbsolute with SymlinkFlags

This way `std.fs.symlinkAbsolute` becomes cross-platform and we can
legally include `SymlinkFlags` as an argument that's only used on
Windows. Also, now `std.os.symlink` generates a compile error on
Windows with a message to instead use `std.os.windows.CreateSymbolicLink`.
Finally, this PR also reshuffles the tests between `std.os.test` and
`std.fs.test`.

```

## Parents

- [dd366d316d0b3555864145494b28fdb6e090a3f2](https://git.cafe/gitcafe/zig/commit/dd366d316d0b3555864145494b28fdb6e090a3f2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/fc7d87fef19964273eb65e8cee05eaffa7a9e72f?format=markdown)
