fluentfs.paths.paths.file_like_exists

fluentfs.paths.paths.file_like_exists(path: str) bool

Check whether a file-like object (i.e. a file, directory or symlink) with the given path exists.

Parameters:

path – The given path.

Returns:

True, if a file-like object is present at the given path, False otherwise.