fluentfs.paths.paths

Functions

base_name(path)

Get the base name of a file-like object (i.e.

current_path()

Get the path representing the current working directory.

dir_exists(path)

Check whether a directory is present at the given path.

expand_path(path[, expand_user, expand_vars])

Maximally expand a path.

expand_paths(paths[, expand_user, expand_vars])

Maximally expand a list of paths.

file_exists(path)

Check whether a (regular) file is present at the given path.

file_like_exists(path)

Check whether a file-like object (i.e.

file_like_kind(path)

Get the kind of file-like object present at the given path.

path_is_absolute(path)

Check whether a given path is absolute.

path_is_relative(path)

Check whether a given path is relative.

relative_path(path[, base_path])

Get the path relative to a base path.

symlink_exists(path)

Check whether a symbolic link is present at the given path.

Classes

FileLikeKind(value)

An enumeration.