Difference between revisions of "love.filesystem.isSymlink"

(Created page)
 
(Added deprecation notice)
Line 1: Line 1:
 
{{newin|[[0.9.2]]|092|type=function}}
 
{{newin|[[0.9.2]]|092|type=function}}
 +
{{deprecatedin|[[0.11.0]]|110|type=function|text=This function is deprecated and is replaced by [[love.filesystem.getInfo]]}}
 
Gets whether a filepath is actually a symbolic link.
 
Gets whether a filepath is actually a symbolic link.
  

Revision as of 03:01, 1 April 2018

Available since LÖVE 0.9.2
This function is not supported in earlier versions.
Deprecated in LÖVE 0.11.0
This function is deprecated and is replaced by love.filesystem.getInfo.

Gets whether a filepath is actually a symbolic link.

If symbolic links are not enabled (via love.filesystem.setSymlinksEnabled), this function will always return false.

Function

Synopsis

symlink = love.filesystem.isSymlink( path )

Arguments

string path
The file or directory path to check.

Returns

boolean symlink
True if the path is a symbolic link, false otherwise.

See Also

Other Languages