Configy: Add StartsWith as a shorthand for Name(name, true)
It is a more descriptive name, to be used extensively
for recipe parsing.
1 parent 09a681d commit 7020f38db179561e7f4d654522bd2af5db5efcd5
@Geod24 Geod24 authored on 12 Aug 2022
Mathias LANG committed on 12 Aug 2022
Showing 1 changed file
View
6
source/configy/Attributes.d
public string name;
 
///
public bool startsWith;
}
 
/// Short hand syntax
public Name StartsWith(string name) @safe pure nothrow @nogc
{
return Name(name, true);
}
 
/*******************************************************************************