Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
<RepositoryUrl>https://github.com/managedcode/Storage</RepositoryUrl>
<PackageProjectUrl>https://github.com/managedcode/Storage</PackageProjectUrl>
<Product>Managed Code - Storage</Product>
<Version>10.0.9</Version>
<PackageVersion>10.0.9</PackageVersion>
<Version>10.0.10</Version>
<PackageVersion>10.0.10</PackageVersion>

</PropertyGroup>

Expand Down
2 changes: 2 additions & 0 deletions ManagedCode.Storage.Core/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ Parent: `../AGENTS.md`
- Treat `IStorage`, `IStorageProvider`, and factory abstractions as public contracts; changing them is an ask-first API change.
- Keep shared helpers vendor-agnostic; SDK-specific behavior belongs in provider projects, not in Core.
- Preserve keyed and default storage resolution semantics because VFS, server integrations, and Orleans depend on them.

- Shared low-level storage contracts and value types belong in `ManagedCode.Storage.Core.Primitives`; do not introduce a generic `Objects` namespace.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Threading;
using System.Threading.Tasks;

namespace ManagedCode.Storage.Core.Objects;
namespace ManagedCode.Storage.Core.Primitives;

/// <summary>Optional atomic object operations. Providers must enforce conditions server-side.</summary>
public interface IObjectStorage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;

namespace ManagedCode.Storage.Core.Objects;
namespace ManagedCode.Storage.Core.Primitives;

public sealed record StorageContainerInfo(string ETag, bool IsPrivate, IReadOnlyDictionary<string, string> Metadata);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using Azure.Storage.Blobs;
using Azure.Storage.Blobs.Models;
using Azure.Storage.Blobs.Specialized;
using ManagedCode.Storage.Core.Objects;
using ManagedCode.Storage.Core.Primitives;

namespace ManagedCode.Storage.Azure;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using ManagedCode.Storage.Core.Objects;
using ManagedCode.Storage.Core.Primitives;

namespace ManagedCode.Storage.Azure;

Expand Down
2 changes: 1 addition & 1 deletion Storages/ManagedCode.Storage.Azure/AzureStorage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
namespace ManagedCode.Storage.Azure;

public partial class AzureStorage(IAzureStorageOptions options, ILogger<AzureStorage>? logger = default)
: BaseStorage<BlobContainerClient, IAzureStorageOptions>(options), IAzureStorage, ManagedCode.Storage.Core.Objects.IMultipartObjectStorage
: BaseStorage<BlobContainerClient, IAzureStorageOptions>(options), IAzureStorage, ManagedCode.Storage.Core.Primitives.IMultipartObjectStorage
{
private static readonly StorageTransferOptions DefaultUploadTransferOptions = new()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Threading.Tasks;
using ManagedCode.Storage.Azure;
using ManagedCode.Storage.Azure.Options;
using ManagedCode.Storage.Core.Objects;
using ManagedCode.Storage.Core.Primitives;
using ManagedCode.Storage.Tests.Common;
using ManagedCode.Storage.VirtualFileSystem.Extensions;
using ManagedCode.Storage.VirtualFileSystem.Core;
Expand Down
2 changes: 1 addition & 1 deletion docs/Architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Single source of truth: keep this doc navigational and coarse. Detailed behavior
## Atomic object capabilities

`IStorage` retains its existing portable API. AzureStorage additionally implements
`IObjectStorage` and `IMultipartObjectStorage` from Core. Consumers acquire these
`IObjectStorage` and `IMultipartObjectStorage` from `ManagedCode.Storage.Core.Primitives`. Consumers acquire these
capabilities with `RequireObjectStorage` / `RequireMultipartStorage`; unsupported
providers fail explicitly rather than approximating atomic conditions. No Azure
SDK models appear in these capability contracts. `AzureStorageConnection.Create`
Expand Down
Loading