Skip to content

BHoM_Engine: Replace \\ in description attributes with / #3248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions BHoM_Engine/Query/BHoMFolder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,55 +33,55 @@ public static partial class Query
/**** Public Methods ****/
/***************************************************/

[Description("Returns the folder path for the top level assemblies directory, for example for the C: drive it will return C:\\ProgramData\\BHoM\\Assemblies")]
[Description("Returns the folder path for the top level assemblies directory, for example for the C: drive it will return C:/ProgramData/BHoM/Assemblies")]
public static string BHoMFolder()
{
return System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.CommonApplicationData), "BHoM", "Assemblies");
}

/***************************************************/

[Description("Returns the folder path for the top level datasets directory, for example for the C: drive it will return C:\\ProgramData\\BHoM\\Datasets")]
[Description("Returns the folder path for the top level datasets directory, for example for the C: drive it will return C:/ProgramData/BHoM/Datasets")]
public static string BHoMFolderDatasets()
{
return System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.CommonApplicationData), "BHoM", "Datasets");
}

/***************************************************/

[Description("Returns the folder path for the top level extensions directory, for example for the C: drive it will return C:\\ProgramData\\BHoM\\Extensions")]
[Description("Returns the folder path for the top level extensions directory, for example for the C: drive it will return C:/ProgramData/BHoM/Extensions")]
public static string BHoMFolderExtensions()
{
return System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.CommonApplicationData), "BHoM", "Extensions");
}

/***************************************************/

[Description("Returns the folder path for the top level logs directory, for example for the C: drive it will return C:\\ProgramData\\BHoM\\Logs")]
[Description("Returns the folder path for the top level logs directory, for example for the C: drive it will return C:/ProgramData/BHoM/Logs")]
public static string BHoMFolderLogs()
{
return System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.CommonApplicationData), "BHoM", "Logs");
}

/***************************************************/

[Description("Returns the folder path for the top level resources directory, for example for the C: drive it will return C:\\ProgramData\\BHoM\\Resources")]
[Description("Returns the folder path for the top level resources directory, for example for the C: drive it will return C:/ProgramData/BHoM/Resources")]
public static string BHoMFolderResources()
{
return System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.CommonApplicationData), "BHoM", "Resources");
}

/***************************************************/

[Description("Returns the folder path for the top level settings directory, for example for the C: drive it will return C:\\ProgramData\\BHoM\\Settings")]
[Description("Returns the folder path for the top level settings directory, for example for the C: drive it will return C:/ProgramData/BHoM/Settings")]
public static string BHoMFolderSettings()
{
return System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.CommonApplicationData), "BHoM", "Settings");
}

/***************************************************/

[Description("Returns the folder path for the top level upgrades directory, which houses sub-directories for upgraders for different BHoM versions. For example for the C: drive it will return C:\\ProgramData\\BHoM\\Upgrades")]
[Description("Returns the folder path for the top level upgrades directory, which houses sub-directories for upgraders for different BHoM versions. For example for the C: drive it will return C:/ProgramData/BHoM/Upgrades")]
public static string BHoMFolderUpgrades()
{
return System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.CommonApplicationData), "BHoM", "Upgrades");
Expand Down