getLinkAttributes

fnuint getLinkAttributes(R)(R name) if (isSomeFiniteCharInputRange!R && !isConvertibleToString!R)

If the given file is a symbolic link, then this returns the attributes of the symbolic link itself rather than file that it points to. If the given file is not a symbolic link, then this function returns the same result as getAttributes.

On Windows, getLinkAttributes is identical to getAttributes. It exists on Windows so that you don't have to special-case code for Windows when dealing with symbolic links.

Parameters

nameThe file to get the symbolic link attributes of.

Returns

the attributes

Throws

FileException on error.
fnuint getLinkAttributes(R)(auto ref R name) if (isConvertibleToString!R)

ditto