is_path_hidden#

astropy.utils.misc.is_path_hidden(filepath)[source]#

Deprecated since version 6.0: The is_path_hidden function is deprecated and may be removed in a future version.

Determines if a given file or directory is hidden.

Parameters:
filepathstr

The path to a file or directory

Returns:
hiddenbool

Returns True if the file is hidden