fix(backend): docstring
This commit is contained in:
@@ -11,7 +11,7 @@ use crate::prelude::*;
|
|||||||
pub type Switches = &'static [&'static str];
|
pub type Switches = &'static [&'static str];
|
||||||
pub type Text = &'static str;
|
pub type Text = &'static str;
|
||||||
|
|
||||||
// A bundle of small of bits of info associated with a backend.
|
/// A bundle of small of bits of info associated with a backend.
|
||||||
pub struct BackendInfo {
|
pub struct BackendInfo {
|
||||||
/// The binary name when calling the backend.
|
/// The binary name when calling the backend.
|
||||||
pub binary: String,
|
pub binary: String,
|
||||||
|
|||||||
@@ -8,13 +8,14 @@ use std::fmt::Display;
|
|||||||
use crate::prelude::*;
|
use crate::prelude::*;
|
||||||
use anyhow::{Context, Result};
|
use anyhow::{Context, Result};
|
||||||
|
|
||||||
// A backend with its associated managed packages
|
/// A backend with its associated managed packages
|
||||||
pub struct ManagedBackend {
|
pub struct ManagedBackend {
|
||||||
/// All managed packages for this backend, i.e. all packages
|
/// All managed packages for this backend, i.e. all packages
|
||||||
/// under the corresponding section in all group files.
|
/// under the corresponding section in all group files.
|
||||||
pub packages: Packages,
|
pub packages: Packages,
|
||||||
pub any_backend: AnyBackend,
|
pub any_backend: AnyBackend,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ManagedBackend {
|
impl ManagedBackend {
|
||||||
/// Get unmanaged packages, sorted alphabetically.
|
/// Get unmanaged packages, sorted alphabetically.
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user