pub unsafe extern "C" fn btrfs_util_is_subvolume(
    path: *const c_char
) -> btrfs_util_error
Expand description

btrfs_util_is_subvolume() - Return whether a given path is a Btrfs subvolume. @path: Path to check.

Return: %BTRFS_UTIL_OK if @path is a Btrfs subvolume, %BTRFS_UTIL_ERROR_NOT_BTRFS if @path is not on a Btrfs filesystem, %BTRFS_UTIL_ERROR_NOT_SUBVOLUME if @path is not a subvolume, non-zero error code on any other failure.