Struct tugger_apple_bundle::DirectoryBundleFile [−][src]
Represents a file in a DirectoryBundle.
Implementations
impl<'a> DirectoryBundleFile<'a>
[src]
pub fn absolute_path(&self) -> &Path
[src]
Absolute path to this file.
pub fn relative_path(&self) -> &Path
[src]
Relative path within the bundle to this file.
pub fn is_info_plist(&self) -> bool
[src]
Whether this is the Info.plist
file.
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]
Whether this file is in the code signature directory.
pub fn symlink_target(&self) -> Result<Option<PathBuf>>
[src]
Obtain the symlink target for this file.
If None
, the file is not a symlink.
Auto Trait Implementations
impl<'a> RefUnwindSafe for DirectoryBundleFile<'a>
impl<'a> Send for DirectoryBundleFile<'a>
impl<'a> Sync for DirectoryBundleFile<'a>
impl<'a> Unpin for DirectoryBundleFile<'a>
impl<'a> UnwindSafe for DirectoryBundleFile<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,