paludis Version 3.0.2
The one true package mangler
Filesystem

Files

file  /var/tmp/paludis/build/sys-apps-paludis-scm-r1/work/paludis-scm/paludis/util/is_file_with_extension.hh
file  /var/tmp/paludis/build/sys-apps-paludis-scm-r1/work/paludis-scm/paludis/util/safe_ifstream-fwd.hh
file  /var/tmp/paludis/build/sys-apps-paludis-scm-r1/work/paludis-scm/paludis/util/safe_ifstream.hh
file  /var/tmp/paludis/build/sys-apps-paludis-scm-r1/work/paludis-scm/paludis/util/safe_ofstream.hh

Classes

class  paludis::FSError
class  paludis::SafeIFStreamBuf
class  paludis::SafeIFStreamBase
class  paludis::SafeIFStream
class  paludis::SafeIFStreamError
class  paludis::SafeOFStreamBuf
class  paludis::SafeOFStreamBase
class  paludis::SafeOFStream
class  paludis::SafeOFStreamError

Typedefs

typedef Options< IsFileWithOption > paludis::IsFileWithOptions

Functions

std::ostream & paludis::operator<< (std::ostream &s, const FSPath &f) PALUDIS_VISIBLE
bool paludis::is_file_with_extension (const FSPath &, const std::string &, const IsFileWithOptions &) PALUDIS_VISIBLE
bool paludis::is_file_with_prefix_extension (const FSPath &, const std::string &, const std::string &, const IsFileWithOptions &) PALUDIS_VISIBLE

Detailed Description

We provide various functions and classes that simplify various common filesystem operations.

Examples

  • None at this time.

Typedef Documentation

◆ IsFileWithOptions

Function Documentation

◆ is_file_with_extension()

bool paludis::is_file_with_extension ( const FSPath & ,
const std::string & ,
const IsFileWithOptions &  )

Return whether an FSPath is a file with a given extension.

See also
is_file_with_prefix_extension()

References is_file_with_extension(), and PALUDIS_VISIBLE.

Referenced by is_file_with_extension().

◆ is_file_with_prefix_extension()

bool paludis::is_file_with_prefix_extension ( const FSPath & ,
const std::string & ,
const std::string & ,
const IsFileWithOptions &  )

Return whether an FSPath is a file with a given prefix and a given extension prefix.

See also
is_file_with_extension()

References is_file_with_prefix_extension(), and PALUDIS_VISIBLE.

Referenced by is_file_with_prefix_extension().

◆ operator<<()

std::ostream & paludis::operator<< ( std::ostream & s,
const FSPath & f )

An FSPath can be written to an ostream.

References PALUDIS_VISIBLE.