Skip to content

Commit

Permalink
Merge pull request #54 from GeneralLibrary/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
JusterZhu authored Feb 20, 2024
2 parents b56e7e3 + 6663d42 commit 9896c12
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 27 deletions.
1 change: 0 additions & 1 deletion src/c#/GeneralUpdate.Client/MySample.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using GeneralUpdate.ClientCore;
using GeneralUpdate.Core.Bootstrap;
using GeneralUpdate.Core.ContentProvider;
using GeneralUpdate.Core.Domain.Entity;
using GeneralUpdate.Core.Domain.Enum;
using GeneralUpdate.Core.Driver;
Expand Down
Empty file.
Empty file.
Empty file.
13 changes: 0 additions & 13 deletions src/c#/GeneralUpdate.ClientCore/GeneralUpdate.ClientCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@
<None Remove="CustomAwaiter\.gitkeep" />
<None Remove="Differential\.gitkeep" />
<None Remove="Differential\Binary\.gitkeep" />
<None Remove="Differential\Config\.gitkeep" />
<None Remove="Differential\Config\Cache\.gitkeep" />
<None Remove="Differential\Config\Handles\.gitkeep" />
<None Remove="Differential\ContentProvider\.gitkeep" />
<None Remove="Differential\GStream\.gitkeep" />
<None Remove="Domain\.gitkeep" />
Expand Down Expand Up @@ -156,16 +153,6 @@
<Compile Include="..\GeneralUpdate.Core\WillMessage\WillMessageManager.cs" Link="WillMessage\WillMessageManager.cs" />
<Compile Include="..\GeneralUpdate.Differential\Binary\BinaryHandle.cs" Link="Differential\Binary\BinaryHandle.cs" />
<Compile Include="..\GeneralUpdate.Differential\Binary\IBinary.cs" Link="Differential\Binary\IBinary.cs" />
<Compile Include="..\GeneralUpdate.Differential\Config\Cache\ConfigCache.cs" Link="Differential\Config\Cache\ConfigCache.cs" />
<Compile Include="..\GeneralUpdate.Differential\Config\Cache\ConfigEntity.cs" Link="Differential\Config\Cache\ConfigEntity.cs" />
<Compile Include="..\GeneralUpdate.Differential\Config\Cache\ICache.cs" Link="Differential\Config\Cache\ICache.cs" />
<Compile Include="..\GeneralUpdate.Differential\Config\ConfigFactory.cs" Link="Differential\Config\ConfigFactory.cs" />
<Compile Include="..\GeneralUpdate.Differential\Config\Handles\DBHandle.cs" Link="Differential\Config\Handles\DBHandle.cs" />
<Compile Include="..\GeneralUpdate.Differential\Config\Handles\HandleEnum.cs" Link="Differential\Config\Handles\HandleEnum.cs" />
<Compile Include="..\GeneralUpdate.Differential\Config\Handles\IHandle.cs" Link="Differential\Config\Handles\IHandle.cs" />
<Compile Include="..\GeneralUpdate.Differential\Config\Handles\IniHandle.cs" Link="Differential\Config\Handles\IniHandle.cs" />
<Compile Include="..\GeneralUpdate.Differential\Config\Handles\JsonHandle.cs" Link="Differential\Config\Handles\JsonHandle.cs" />
<Compile Include="..\GeneralUpdate.Differential\Config\Handles\XmlHandle.cs" Link="Differential\Config\Handles\XmlHandle.cs" />
<Compile Include="..\GeneralUpdate.Differential\DifferentialCore.cs" Link="Differential\DifferentialCore.cs" />
<Compile Include="..\GeneralUpdate.Differential\GStream\BZip2Constants.cs" Link="Differential\GStream\BZip2Constants.cs" />
<Compile Include="..\GeneralUpdate.Differential\GStream\BZip2InputStream.cs" Link="Differential\GStream\BZip2InputStream.cs" />
Expand Down
4 changes: 2 additions & 2 deletions src/c#/GeneralUpdate.ClientCore/Hubs/VersionHub.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Microsoft.AspNetCore.SignalR.Client;
using GeneralUpdate.Core.ContentProvider;
using Microsoft.AspNetCore.SignalR.Client;
using System;
using System.Threading.Tasks;
using GeneralUpdate.Core.ContentProvider;

namespace GeneralUpdate.ClientCore.Hubs
{
Expand Down
2 changes: 1 addition & 1 deletion src/c#/GeneralUpdate.Core/Bootstrap/AbstractBootstrap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public virtual TBootstrap Option<T>(UpdateOption<T> option, T value)
Contract.Requires(option != null);
if (value == null)
{
this._options.TryRemove(option, out UpdateOptionValue removed);
this._options.TryRemove(option, out _);
}
else
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ private IEnumerable<string> GetAllFiles(string directoryPath)
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.Generic;

namespace GeneralUpdate.Core.ContentProvider
{
Expand Down Expand Up @@ -31,4 +29,4 @@ public static void SetBlacklist(List<string> blackFiles, List<string> blackFileF
/// <returns></returns>
public static List<string> GetBlackFileFormats() => _blackFileFormats ?? new List<string>() { ".patch", ".7z", ".zip", ".rar", ".tar", ".json" };
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using GeneralUpdate.Core.Exceptions;
using GeneralUpdate.Core.HashAlgorithms;
using System;
using System;
using System.Collections.Generic;
using System.IO;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;
using GeneralUpdate.Core.ContentProvider;
using System;
using System.Text;
using GeneralUpdate.Core.ContentProvider;

namespace GeneralUpdate.Core.Domain.Entity.Assembler
{
Expand Down

0 comments on commit 9896c12

Please sign in to comment.