Difference between revisions of "love.filesystem.isSymlink"

(Created page)
 
m (Changed version number from 0.11.0 to 11.0)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{newin|[[0.9.2]]|092|type=function}}
 
{{newin|[[0.9.2]]|092|type=function}}
 +
{{deprecatedin|[[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.
  

Latest revision as of 18:26, 3 April 2018

Available since LÖVE 0.9.2
This function is not supported in earlier versions.
Deprecated in LÖVE 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