Skip to content

Merge pull request #130 from koculu/codex/remove-isexpired-from-hashc… #293

Merge pull request #130 from koculu/codex/remove-isexpired-from-hashc…

Merge pull request #130 from koculu/codex/remove-isexpired-from-hashc… #293

Triggered via push June 14, 2025 02:45
Status Success
Total duration 3m 4s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/ZoneTree/Segments/DiskSegmentVariations/VariableSizeDiskSegment.cs#L153
In member TKey VariableSizeDiskSegment<TKey, TValue>.ReadKey(long index, BlockPin blockPin), change parameter name blockPin to pin in order to match the identifier as it has been declared in TKey DiskSegment<TKey, TValue>.ReadKey(long index, BlockPin pin) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
build: src/ZoneTree/Segments/RandomAccess/FileRandomAccessDevice.cs#L62
In member Memory<byte> FileRandomAccessDevice.GetBytes(long offset, int length, SingleBlockPin pin), change parameter name pin to blockPin in order to match the identifier as it has been declared in Memory<byte> IRandomAccessDevice.GetBytes(long offset, int length, SingleBlockPin blockPin = null) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
build: src/ZoneTree/Serializers/UnicodeStringSerializer.cs#L14
Member 'Deserialize' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
build: src/ZoneTree/AbstractFileStream/InMemoryFileStreamProvider.cs#L121
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'Tenray.ZoneTree.AbstractFileStream.InMemoryFileStreamProvider.GetDirectories(string)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
build: src/ZoneTree/AbstractFileStream/InMemoryFileStreamProvider.cs#L107
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build: src/ZoneTree/AbstractFileStream/InMemoryFileStreamProvider.cs#L103
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build: src/ZoneTree/AbstractFileStream/InMemoryFileStreamProvider.cs#L73
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'Tenray.ZoneTree.AbstractFileStream.InMemoryFileStreamProvider.DeleteDirectory(string, bool)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
build: src/ZoneTree/Core/ZoneTreeMaintainer.cs#L41
Member 'ThresholdForMergeOperationStart' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
build: src/ZoneTree/Segments/Disk/CircularCache.cs#L27
Member 'statsCacheMiss' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
build: src/ZoneTree/Segments/Disk/CircularCache.cs#L25
Member 'statsCacheHit' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)