style: add doc comments for Package.child

This commit is contained in:
Mika Vilpas 2024-05-09 15:17:31 +03:00
parent 6ff42c1a6d
commit 63768f9cde

View file

@ -6,6 +6,8 @@ use yazi_shared::Xdg;
pub(crate) struct Package {
pub(crate) repo: String,
/// When a package is a subdirectory of a repository, this field will be set
/// to the subdirectory name.
pub(crate) child: String,
pub(crate) commit: String,
pub(super) is_flavor: bool,