filelib

filelib

Module

filelib

Module summary

File utilities, such as wildcard matching of filenames

Description

This module contains utilities on a higher level than the file module.

This module does not support "raw" file names (i.e. files whose names do not comply with the expected encoding). Such files will be ignored by the functions in this module.

For more information about raw file names, see the file module.

Data types

filename() = file:name()

dirname() = filename()

dirname_all() = filename_all()

filename_all() = file:name_all()

Exports

ensure_dir(Name) -> ok | {error, Reason}

Types:

Name = 登录查看完整内容