{-|
  This function returns the link counter of a file\/directory.
-}
getLinkCount :: FilePath -> IO (Maybe Int)
getLinkCount file = Just . fromIntegral . linkCount <$> getFileStatus file
getLinkCount :: FilePath -> IO (Maybe Int)
getLinkCount file = Just . fromIntegral . linkCount <$> getFileStatus file
getLinkCount file = Just . fromIntegral . linkCount <$> getFileStatus file