Skip to content

Commit

Permalink
fix description of path function
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveL-MSFT committed Oct 30, 2024
1 parent 7fd5060 commit c099c9e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions dsc_lib/src/functions/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ use tracing::debug;
#[derive(Debug, Default)]
pub struct Path {}

/// Implements the 'mountedpath' function.
/// This function returns the value of the mounted path.
/// The optional parameter is a path appended to the mounted path.
/// Path is not validated as it might be used for creation.
/// Implements the 'path' function.
/// Accepts a variable number of arguments, each of which is a string.
/// Returns a string that is the concatenation of the arguments, separated by the platform's path separator.
impl Function for Path {
fn min_args(&self) -> usize {
2
Expand Down

0 comments on commit c099c9e

Please sign in to comment.