Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Tidy-Coder committed Aug 7, 2024
1 parent c97f2c3 commit 6217bfe
Show file tree
Hide file tree
Showing 28 changed files with 285 additions and 9 deletions.
2 changes: 2 additions & 0 deletions c#/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
Binary file added c#/bin/Debug/net8.0/c#
Binary file not shown.
23 changes: 23 additions & 0 deletions c#/bin/Debug/net8.0/c#.deps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {
"c#/1.0.0": {
"runtime": {
"c#.dll": {}
}
}
}
},
"libraries": {
"c#/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Binary file added c#/bin/Debug/net8.0/c#.dll
Binary file not shown.
Binary file added c#/bin/Debug/net8.0/c#.pdb
Binary file not shown.
12 changes: 12 additions & 0 deletions c#/bin/Debug/net8.0/c#.runtimeconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
"configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}
11 changes: 11 additions & 0 deletions c#/c#.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>c_</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
18 changes: 9 additions & 9 deletions c#/functions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ bool exists(string tidyPath){
}
}
bool isFolder(string tidyPath){
return Directory.Exists(string tidyPath);
return Directory.Exists(tidyPath);
}
bool isFile(string tidyPath){
return File.Exists(tidyPath);
Expand All @@ -23,7 +23,7 @@ bool delete(string tidyPath){
Directory.Delete(tidyPath, true);
return true;
}
catch(Exception e){
catch{
return false;
}
}
Expand All @@ -32,7 +32,7 @@ bool delete(string tidyPath){
File.Delete(tidyPath);
return true;
}
catch(Exception z){
catch{
return false;
}
}
Expand All @@ -43,7 +43,7 @@ bool createFile(string tidyPath){
File.Create(tidyPath);
return true;
}
catch(Exception e){
catch{
return false;
}
}
Expand All @@ -52,7 +52,7 @@ bool createFolder(string tidyPath){
Directory.CreateDirectory(tidyPath);
return true;
}
catch(Exception e){
catch{
return false;
}
}
Expand All @@ -63,7 +63,7 @@ bool clear(string tidyPath){
Directory.CreateDirectory(tidyPath);
return true;
}
catch(Exception e){
catch{
return false;
}
}
Expand All @@ -73,7 +73,7 @@ bool clear(string tidyPath){
File.Create(tidyPath);
return true;
}
catch(Exception e){
catch{
return false;
}
}
Expand All @@ -86,9 +86,9 @@ long sizeDirectory(DirectoryInfo tidyInfoHere){
tidyNumReturn += f.Length;
}
foreach(DirectoryInfo infoIsHere in tidyInfoHere.GetDirectories()){
tidyNumReturn += this.sizeDirectory(infoIsHere)
tidyNumReturn += this.sizeDirectory(infoIsHere);
}
return tidyNumReturn
return tidyNumReturn;
}
long size(string tidyPath){
if(this.isFile(tidyPath)){
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
Binary file added c#/obj/Debug/net8.0/apphost
Binary file not shown.
22 changes: 22 additions & 0 deletions c#/obj/Debug/net8.0/c#.AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Reflection;

[assembly: System.Reflection.AssemblyCompanyAttribute("c#")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+c97f2c31e10e0882184ae28af9f5834953937464")]
[assembly: System.Reflection.AssemblyProductAttribute("c#")]
[assembly: System.Reflection.AssemblyTitleAttribute("c#")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

// Generated by the MSBuild WriteCodeFragment class.

1 change: 1 addition & 0 deletions c#/obj/Debug/net8.0/c#.AssemblyInfoInputs.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bb1dd660cd1394c0e75fc06474ad024746ea3f10763dc30ebe7bd7118561a721
13 changes: 13 additions & 0 deletions c#/obj/Debug/net8.0/c#.GeneratedMSBuildEditorConfig.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
is_global = true
build_property.TargetFramework = net8.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = c_
build_property.ProjectDir = /workspaces/TidyOpenFileManagementLibrary/c#/
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
8 changes: 8 additions & 0 deletions c#/obj/Debug/net8.0/c#.GlobalUsings.g.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;
Binary file added c#/obj/Debug/net8.0/c#.assets.cache
Binary file not shown.
1 change: 1 addition & 0 deletions c#/obj/Debug/net8.0/c#.csproj.CoreCompileInputs.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fdd346999b015fc51c65a7eadfe7a323235eca5a825560a7b7015b541d160e31
15 changes: 15 additions & 0 deletions c#/obj/Debug/net8.0/c#.csproj.FileListAbsolute.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/workspaces/TidyOpenFileManagementLibrary/c#/obj/Debug/net8.0/c#.GeneratedMSBuildEditorConfig.editorconfig
/workspaces/TidyOpenFileManagementLibrary/c#/obj/Debug/net8.0/c#.AssemblyInfoInputs.cache
/workspaces/TidyOpenFileManagementLibrary/c#/obj/Debug/net8.0/c#.AssemblyInfo.cs
/workspaces/TidyOpenFileManagementLibrary/c#/obj/Debug/net8.0/c#.csproj.CoreCompileInputs.cache
/workspaces/TidyOpenFileManagementLibrary/c#/obj/Debug/net8.0/c#.sourcelink.json
/workspaces/TidyOpenFileManagementLibrary/c#/bin/Debug/net8.0/c#
/workspaces/TidyOpenFileManagementLibrary/c#/bin/Debug/net8.0/c#.deps.json
/workspaces/TidyOpenFileManagementLibrary/c#/bin/Debug/net8.0/c#.runtimeconfig.json
/workspaces/TidyOpenFileManagementLibrary/c#/bin/Debug/net8.0/c#.dll
/workspaces/TidyOpenFileManagementLibrary/c#/bin/Debug/net8.0/c#.pdb
/workspaces/TidyOpenFileManagementLibrary/c#/obj/Debug/net8.0/c#.dll
/workspaces/TidyOpenFileManagementLibrary/c#/obj/Debug/net8.0/refint/c#.dll
/workspaces/TidyOpenFileManagementLibrary/c#/obj/Debug/net8.0/c#.pdb
/workspaces/TidyOpenFileManagementLibrary/c#/obj/Debug/net8.0/c#.genruntimeconfig.cache
/workspaces/TidyOpenFileManagementLibrary/c#/obj/Debug/net8.0/ref/c#.dll
Binary file added c#/obj/Debug/net8.0/c#.dll
Binary file not shown.
1 change: 1 addition & 0 deletions c#/obj/Debug/net8.0/c#.genruntimeconfig.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8fa670709e1830d281faf33e35b24769c71fb11192b8b5da2450c46402b2ce50
Binary file added c#/obj/Debug/net8.0/c#.pdb
Binary file not shown.
1 change: 1 addition & 0 deletions c#/obj/Debug/net8.0/c#.sourcelink.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"documents":{"/workspaces/TidyOpenFileManagementLibrary/*":"https://raw.githubusercontent.com/Tidy-Coder/TidyOpenFileManagementLibrary/c97f2c31e10e0882184ae28af9f5834953937464/*"}}
Binary file added c#/obj/Debug/net8.0/ref/c#.dll
Binary file not shown.
Binary file added c#/obj/Debug/net8.0/refint/c#.dll
Binary file not shown.
66 changes: 66 additions & 0 deletions c#/obj/c#.csproj.nuget.dgspec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"format": 1,
"restore": {
"/workspaces/TidyOpenFileManagementLibrary/c#/c#.csproj": {}
},
"projects": {
"/workspaces/TidyOpenFileManagementLibrary/c#/c#.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/workspaces/TidyOpenFileManagementLibrary/c#/c#.csproj",
"projectName": "c#",
"projectPath": "/workspaces/TidyOpenFileManagementLibrary/c#/c#.csproj",
"packagesPath": "/home/codespace/.nuget/packages/",
"outputPath": "/workspaces/TidyOpenFileManagementLibrary/c#/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/codespace/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/8.0.303/PortableRuntimeIdentifierGraph.json"
}
}
}
}
}
15 changes: 15 additions & 0 deletions c#/obj/c#.csproj.nuget.g.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/codespace/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/codespace/.nuget/packages/</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.10.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="/home/codespace/.nuget/packages/" />
</ItemGroup>
</Project>
2 changes: 2 additions & 0 deletions c#/obj/c#.csproj.nuget.g.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
71 changes: 71 additions & 0 deletions c#/obj/project.assets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"version": 3,
"targets": {
"net8.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net8.0": []
},
"packageFolders": {
"/home/codespace/.nuget/packages/": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/workspaces/TidyOpenFileManagementLibrary/c#/c#.csproj",
"projectName": "c#",
"projectPath": "/workspaces/TidyOpenFileManagementLibrary/c#/c#.csproj",
"packagesPath": "/home/codespace/.nuget/packages/",
"outputPath": "/workspaces/TidyOpenFileManagementLibrary/c#/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/codespace/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/8.0.303/PortableRuntimeIdentifierGraph.json"
}
}
}
}
8 changes: 8 additions & 0 deletions c#/obj/project.nuget.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "4E3mwDbxWOo=",
"success": true,
"projectFilePath": "/workspaces/TidyOpenFileManagementLibrary/c#/c#.csproj",
"expectedPackageFiles": [],
"logs": []
}

0 comments on commit 6217bfe

Please sign in to comment.