Skip to content

Commit

Permalink
Merge pull request #192 from azriel91/maintenance/187/rename-item-to-…
Browse files Browse the repository at this point in the history
…step-spike
  • Loading branch information
azriel91 authored Jun 2, 2024
2 parents c19100c + 5256d1a commit a0acfb9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions crate/cmd/src/scopes/multi_profile_no_flow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use serde::{de::DeserializeOwned, Serialize};

use crate::ctx::CmdCtxTypes;

/// A command that works with multiple profiles, without any items.
/// A command that works with multiple profiles, not scoped to a flow.
///
/// ```bash
/// path/to/repo/.peace/envman
Expand Down Expand Up @@ -94,7 +94,7 @@ where
>,
}

/// A command that works with multiple profiles, without any items.
/// A command that works with multiple profiles, not scoped to a flow.
///
/// ```bash
/// path/to/repo/.peace/envman
Expand Down
4 changes: 2 additions & 2 deletions crate/cmd/src/scopes/single_profile_no_flow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use serde::{de::DeserializeOwned, Serialize};

use crate::ctx::CmdCtxTypes;

/// A command that works with a single profile, without any items.
/// A command that works with a single profile, not scoped to a flow.
///
/// ```bash
/// path/to/repo/.peace/envman
Expand Down Expand Up @@ -84,7 +84,7 @@ where
>,
}

/// A command that works with a single profile, without any items.
/// A command that works with a single profile, not scoped to a flow.
///
/// ```bash
/// path/to/repo/.peace/envman
Expand Down
3 changes: 2 additions & 1 deletion crate/rt_model_core/src/error/web_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ pub enum WebError {
},
/// Failed to remove an item from browser storage.
///
/// This failure mode happens when the `get_item` call to the browser fails.
/// This failure mode happens when the `remove_item` call to the browser
/// fails.
///
/// Note: The original `JsValue` error is converted to a `String` to allow
/// this type to be `Send`.
Expand Down
2 changes: 1 addition & 1 deletion doc/src/technical_concepts/item.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Cleans up the item from existence.

Readers may notice the function breakdown is `git`-like. The following table compares the concepts:

| Subject | Peace | Git |
| Concept | Peace | Git |
|:-----------------------|:-------------------------------------------------------|:-----------------------------------------------------------------------------------------|
| Item | Any consumer defined item. | A directory of files. |
| Project initialization | `init` command takes in parameters to manage the item. | Uses the current directory or passed in directory. |
Expand Down

0 comments on commit a0acfb9

Please sign in to comment.