Function trySymlink

Posix-only. If 'original' exists, then symlink. Otherwise, do nothing and return false.

Supports Path and command echoing.

Prototype

bool trySymlink(T1, T2)(
  T1 original,
  T2 link
)
if ((is(T1 == string) || is(T1 == Path)) && (is(T2 == string) || is(T2 == Path)));

Returns

Success?

Authors

Nick Sabalausky

Copyright

Copyright (C) 2014-2017 Nick Sabalausky

License

zlib/libpng