Struct tugger_apple_bundle::DirectoryBundleFile [−][src]
pub struct DirectoryBundleFile<'a> { /* fields omitted */ }
Represents a file in a DirectoryBundle.
Implementations
impl<'a> DirectoryBundleFile<'a>
[src]
impl<'a> DirectoryBundleFile<'a>
[src]pub fn absolute_path(&self) -> &Path
[src]
pub fn absolute_path(&self) -> &Path
[src]Absolute path to this file.
pub fn relative_path(&self) -> &Path
[src]
pub fn relative_path(&self) -> &Path
[src]Relative path within the bundle to this file.
pub fn is_info_plist(&self) -> bool
[src]
pub fn is_info_plist(&self) -> bool
[src]Whether this is the Info.plist
file.
pub fn is_main_executable(&self) -> Result<bool>
[src]
pub fn is_main_executable(&self) -> Result<bool>
[src]Whether this is the main executable for the bundle.
pub fn is_in_code_signature_directory(&self) -> bool
[src]
pub fn is_in_code_signature_directory(&self) -> bool
[src]Whether this file is in the code signature directory.
pub fn symlink_target(&self) -> Result<Option<PathBuf>>
[src]
pub fn symlink_target(&self) -> Result<Option<PathBuf>>
[src]Obtain the symlink target for this file.
If None
, the file is not a symlink.