paludis  Version 2.6.0
Public Member Functions | List of all members
paludis::Partitioning Class Reference

#include <partitioning.hh>

Public Member Functions

void mark (const std::vector< FSPath > &, const PartName &)
 
PartName classify (const FSPath &) const
 
bool is_partitioned (const FSPath &) const
 

Basic operations

 Partitioning ()
 
 ~Partitioning ()
 

Detailed Description

Package partitioning as defined by the package installation metadata.

Since
1.1.0

Member Function Documentation

PartName paludis::Partitioning::classify ( const FSPath ) const

Classify a path into a partition.

  • [in] path the path to classify
Returns
the partition the path was classified into, empty if none
Since
1.1.0
bool paludis::Partitioning::is_partitioned ( const FSPath ) const

Check if a path is partitioned.

  • [in] path the path to check
Returns
true if the path contains a partioned image
Since
1.99.0
void paludis::Partitioning::mark ( const std::vector< FSPath > &  ,
const PartName  
)

Mark a set of paths as belonging to a partition.

  • [in] paths the paths to partition
  • [in] name the partition name (or empty to indicate core)
Since
1.1.0

The documentation for this class was generated from the following file: