Struct libalpm::FileList
[−]
[src]
pub struct FileList<'a> { pub list: Vec<File<'a>>, // some fields omitted }
A list of files in a package
Fields
list: Vec<File<'a>>
Thie files this filelist contains
Methods
impl<'a> FileList<'a>
[src]
fn contains(&self, path: &str) -> Option<File<'a>>
Test to see whether this filelist contains a path given.
The path should be relative to the installation root without preceeding slash (e.g.
etc/pacman.conf
). Directories should have a trailing slash (e.g. etc/
)
Trait Implementations
impl<'a> Debug for FileList<'a>
[src]
impl<'a> PartialEq for FileList<'a>
[src]
fn eq(&self, __arg_0: &FileList<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FileList<'a>) -> bool
This method tests for !=
.