Skip to content

Commit

Permalink
Mark existing APIs as Shipped
Browse files Browse the repository at this point in the history
  • Loading branch information
lilith committed Nov 28, 2023
1 parent 3ce468b commit c85beb9
Show file tree
Hide file tree
Showing 21 changed files with 674 additions and 657 deletions.
17 changes: 17 additions & 0 deletions DEVNOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## Notes to self

To reset the public API file:

```bash
find . -type f -name 'PublicAPI.Shipped.txt' -exec sh -c 'echo "#nullable enable" > "$0"' {} \;

Go to a file in each project, do fix all just for that project on that api error, then Save All. Duplicates will occur if not careful.

Then run find . -type f -name 'PublicAPI.Unshipped.txt' -exec sh -c 'cat "$1" >> "${1%Unshipped.txt}Shipped.txt" && > "$1"' _ {} \;

to move these to the shipped file.

```
Note: Roslynator didn't work on those fixes, had to use IDE>
30 changes: 30 additions & 0 deletions src/Imageflow.Server.Configuration/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
@@ -1 +1,31 @@
#nullable enable
Imageflow.Server.Configuration.DeploymentEnvironment
Imageflow.Server.Configuration.DeploymentEnvironment.Development = 2 -> Imageflow.Server.Configuration.DeploymentEnvironment
Imageflow.Server.Configuration.DeploymentEnvironment.Production = 0 -> Imageflow.Server.Configuration.DeploymentEnvironment
Imageflow.Server.Configuration.DeploymentEnvironment.Staging = 1 -> Imageflow.Server.Configuration.DeploymentEnvironment
Imageflow.Server.Configuration.IAbstractFileMethods
Imageflow.Server.Configuration.IAbstractFileMethods.DirectoryExists(string! path) -> bool
Imageflow.Server.Configuration.IAbstractFileMethods.FileExists(string! path) -> bool
Imageflow.Server.Configuration.IAbstractFileMethods.ReadAllText(string! path) -> string!
Imageflow.Server.Configuration.IAppConfigurator
Imageflow.Server.Configuration.IAppConfigurator.ConfigureApp(Microsoft.AspNetCore.Builder.IApplicationBuilder! app, Microsoft.AspNetCore.Hosting.IWebHostEnvironment! env) -> void
Imageflow.Server.Configuration.IAppConfigurator.ConfigureServices(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void
Imageflow.Server.Configuration.IAppConfigurator.GetComputedConfiguration(bool redactSecrets) -> System.Collections.Generic.Dictionary<string!, string!>!
Imageflow.Server.Configuration.IAppConfigurator.RestartWhenThisFileChanges.get -> bool
Imageflow.Server.Configuration.ITomlParseResult
Imageflow.Server.Configuration.ITomlParseResult.GetAppConfigurator() -> Imageflow.Server.Configuration.IAppConfigurator!
Imageflow.Server.Configuration.TomlParser
Imageflow.Server.Configuration.TomlParser.TomlParser() -> void
Imageflow.Server.Configuration.TomlParserContext
Imageflow.Server.Configuration.TomlParserContext.ActiveEnvironment.get -> Imageflow.Server.Configuration.DeploymentEnvironment
Imageflow.Server.Configuration.TomlParserContext.ActiveEnvironment.init -> void
Imageflow.Server.Configuration.TomlParserContext.AppVariables.get -> System.Collections.Generic.Dictionary<string!, string!>!
Imageflow.Server.Configuration.TomlParserContext.AppVariables.init -> void
Imageflow.Server.Configuration.TomlParserContext.Filesystem.get -> Imageflow.Server.Configuration.IAbstractFileMethods!
Imageflow.Server.Configuration.TomlParserContext.Filesystem.init -> void
Imageflow.Server.Configuration.TomlParserContext.GetEnvironmentVariable.get -> System.Func<string!, string?>!
Imageflow.Server.Configuration.TomlParserContext.GetEnvironmentVariable.init -> void
Imageflow.Server.Configuration.TomlParserContext.TomlParserContext(Imageflow.Server.Configuration.DeploymentEnvironment activeEnvironment, System.Collections.Generic.Dictionary<string!, string!>! appVariables, System.Func<string!, string?>! getEnvironmentVariable, Imageflow.Server.Configuration.IAbstractFileMethods? filesystem) -> void
Imageflow.Server.Configuration.TomlParserContext.TomlParserContext(Microsoft.AspNetCore.Hosting.IWebHostEnvironment! env) -> void
static Imageflow.Server.Configuration.TomlParser.LoadAndParse(string! path, Imageflow.Server.Configuration.TomlParserContext! context) -> Imageflow.Server.Configuration.ITomlParseResult!
static Imageflow.Server.Configuration.TomlParser.Parse(string! tomlText, string! sourcePath, Imageflow.Server.Configuration.TomlParserContext! context) -> Imageflow.Server.Configuration.ITomlParseResult!
30 changes: 0 additions & 30 deletions src/Imageflow.Server.Configuration/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -1,30 +0,0 @@
Imageflow.Server.Configuration.DeploymentEnvironment
Imageflow.Server.Configuration.DeploymentEnvironment.Development = 2 -> Imageflow.Server.Configuration.DeploymentEnvironment
Imageflow.Server.Configuration.DeploymentEnvironment.Production = 0 -> Imageflow.Server.Configuration.DeploymentEnvironment
Imageflow.Server.Configuration.DeploymentEnvironment.Staging = 1 -> Imageflow.Server.Configuration.DeploymentEnvironment
Imageflow.Server.Configuration.IAbstractFileMethods
Imageflow.Server.Configuration.IAbstractFileMethods.DirectoryExists(string! path) -> bool
Imageflow.Server.Configuration.IAbstractFileMethods.FileExists(string! path) -> bool
Imageflow.Server.Configuration.IAbstractFileMethods.ReadAllText(string! path) -> string!
Imageflow.Server.Configuration.IAppConfigurator
Imageflow.Server.Configuration.IAppConfigurator.ConfigureApp(Microsoft.AspNetCore.Builder.IApplicationBuilder! app, Microsoft.AspNetCore.Hosting.IWebHostEnvironment! env) -> void
Imageflow.Server.Configuration.IAppConfigurator.ConfigureServices(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void
Imageflow.Server.Configuration.IAppConfigurator.GetComputedConfiguration(bool redactSecrets) -> System.Collections.Generic.Dictionary<string!, string!>!
Imageflow.Server.Configuration.IAppConfigurator.RestartWhenThisFileChanges.get -> bool
Imageflow.Server.Configuration.ITomlParseResult
Imageflow.Server.Configuration.ITomlParseResult.GetAppConfigurator() -> Imageflow.Server.Configuration.IAppConfigurator!
Imageflow.Server.Configuration.TomlParser
Imageflow.Server.Configuration.TomlParser.TomlParser() -> void
Imageflow.Server.Configuration.TomlParserContext
Imageflow.Server.Configuration.TomlParserContext.ActiveEnvironment.get -> Imageflow.Server.Configuration.DeploymentEnvironment
Imageflow.Server.Configuration.TomlParserContext.ActiveEnvironment.init -> void
Imageflow.Server.Configuration.TomlParserContext.AppVariables.get -> System.Collections.Generic.Dictionary<string!, string!>!
Imageflow.Server.Configuration.TomlParserContext.AppVariables.init -> void
Imageflow.Server.Configuration.TomlParserContext.Filesystem.get -> Imageflow.Server.Configuration.IAbstractFileMethods!
Imageflow.Server.Configuration.TomlParserContext.Filesystem.init -> void
Imageflow.Server.Configuration.TomlParserContext.GetEnvironmentVariable.get -> System.Func<string!, string?>!
Imageflow.Server.Configuration.TomlParserContext.GetEnvironmentVariable.init -> void
Imageflow.Server.Configuration.TomlParserContext.TomlParserContext(Imageflow.Server.Configuration.DeploymentEnvironment activeEnvironment, System.Collections.Generic.Dictionary<string!, string!>! appVariables, System.Func<string!, string?>! getEnvironmentVariable, Imageflow.Server.Configuration.IAbstractFileMethods? filesystem) -> void
Imageflow.Server.Configuration.TomlParserContext.TomlParserContext(Microsoft.AspNetCore.Hosting.IWebHostEnvironment! env) -> void
static Imageflow.Server.Configuration.TomlParser.LoadAndParse(string! path, Imageflow.Server.Configuration.TomlParserContext! context) -> Imageflow.Server.Configuration.ITomlParseResult!
static Imageflow.Server.Configuration.TomlParser.Parse(string! tomlText, string! sourcePath, Imageflow.Server.Configuration.TomlParserContext! context) -> Imageflow.Server.Configuration.ITomlParseResult!
11 changes: 11 additions & 0 deletions src/Imageflow.Server.DiskCache/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
#nullable enable
Imageflow.Server.DiskCache.DiskCacheOptions
Imageflow.Server.DiskCache.DiskCacheService
Imageflow.Server.DiskCache.DiskCacheServiceExtensions
~Imageflow.Server.DiskCache.DiskCacheOptions.DiskCacheOptions(string physicalCacheDir) -> void
~Imageflow.Server.DiskCache.DiskCacheService.Add(Imazen.Common.Instrumentation.Support.InfoAccumulators.IInfoAccumulator accumulator) -> void
~Imageflow.Server.DiskCache.DiskCacheService.DiskCacheService(Imageflow.Server.DiskCache.DiskCacheOptions options, Microsoft.Extensions.Logging.ILogger logger) -> void
~Imageflow.Server.DiskCache.DiskCacheService.GetIssues() -> System.Collections.Generic.IEnumerable<Imazen.Common.Issues.IIssue>
~Imageflow.Server.DiskCache.DiskCacheService.GetOrCreate(string key, string fileExtension, Imazen.Common.Extensibility.ClassicDiskCache.AsyncWriteResult writeCallback) -> System.Threading.Tasks.Task<Imazen.Common.Extensibility.ClassicDiskCache.ICacheResult>
~Imageflow.Server.DiskCache.DiskCacheService.StartAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task
~Imageflow.Server.DiskCache.DiskCacheService.StopAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task
~static Imageflow.Server.DiskCache.DiskCacheServiceExtensions.AddImageflowDiskCache(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Imageflow.Server.DiskCache.DiskCacheOptions options) -> Microsoft.Extensions.DependencyInjection.IServiceCollection
11 changes: 0 additions & 11 deletions src/Imageflow.Server.DiskCache/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -1,11 +0,0 @@
Imageflow.Server.DiskCache.DiskCacheOptions
Imageflow.Server.DiskCache.DiskCacheService
Imageflow.Server.DiskCache.DiskCacheServiceExtensions
~Imageflow.Server.DiskCache.DiskCacheOptions.DiskCacheOptions(string physicalCacheDir) -> void
~Imageflow.Server.DiskCache.DiskCacheService.Add(Imazen.Common.Instrumentation.Support.InfoAccumulators.IInfoAccumulator accumulator) -> void
~Imageflow.Server.DiskCache.DiskCacheService.DiskCacheService(Imageflow.Server.DiskCache.DiskCacheOptions options, Microsoft.Extensions.Logging.ILogger logger) -> void
~Imageflow.Server.DiskCache.DiskCacheService.GetIssues() -> System.Collections.Generic.IEnumerable<Imazen.Common.Issues.IIssue>
~Imageflow.Server.DiskCache.DiskCacheService.GetOrCreate(string key, string fileExtension, Imazen.Common.Extensibility.ClassicDiskCache.AsyncWriteResult writeCallback) -> System.Threading.Tasks.Task<Imazen.Common.Extensibility.ClassicDiskCache.ICacheResult>
~Imageflow.Server.DiskCache.DiskCacheService.StartAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task
~Imageflow.Server.DiskCache.DiskCacheService.StopAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task
~static Imageflow.Server.DiskCache.DiskCacheServiceExtensions.AddImageflowDiskCache(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Imageflow.Server.DiskCache.DiskCacheOptions options) -> Microsoft.Extensions.DependencyInjection.IServiceCollection
55 changes: 55 additions & 0 deletions src/Imageflow.Server.HybridCache/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
@@ -1 +1,56 @@
#nullable enable
Imageflow.Server.HybridCache.HybridCacheOptions
Imageflow.Server.HybridCache.HybridCacheOptions.CacheSizeLimitInBytes.get -> long
Imageflow.Server.HybridCache.HybridCacheOptions.CacheSizeLimitInBytes.set -> void
Imageflow.Server.HybridCache.HybridCacheOptions.CacheSizeMb.get -> long
Imageflow.Server.HybridCache.HybridCacheOptions.CacheSizeMb.set -> void
Imageflow.Server.HybridCache.HybridCacheOptions.DatabaseShards.get -> int
Imageflow.Server.HybridCache.HybridCacheOptions.DatabaseShards.set -> void
Imageflow.Server.HybridCache.HybridCacheOptions.EvictionSweepSizeMb.get -> long
Imageflow.Server.HybridCache.HybridCacheOptions.EvictionSweepSizeMb.set -> void
Imageflow.Server.HybridCache.HybridCacheOptions.MinAgeToDelete.get -> System.TimeSpan
Imageflow.Server.HybridCache.HybridCacheOptions.MinAgeToDelete.set -> void
Imageflow.Server.HybridCache.HybridCacheOptions.MinCleanupBytes.get -> long
Imageflow.Server.HybridCache.HybridCacheOptions.MinCleanupBytes.set -> void
Imageflow.Server.HybridCache.HybridCacheOptions.QueueSizeLimitInBytes.get -> long
Imageflow.Server.HybridCache.HybridCacheOptions.QueueSizeLimitInBytes.set -> void
Imageflow.Server.HybridCache.HybridCacheOptions.WriteQueueMemoryMb.get -> long
Imageflow.Server.HybridCache.HybridCacheOptions.WriteQueueMemoryMb.set -> void
Imageflow.Server.HybridCache.HybridCacheService
Imageflow.Server.HybridCache.HybridCacheServiceExtensions
~Imageflow.Server.HybridCache.HybridCacheOptions.DiskCacheDirectory.get -> string
~Imageflow.Server.HybridCache.HybridCacheOptions.DiskCacheDirectory.set -> void
~Imageflow.Server.HybridCache.HybridCacheOptions.HybridCacheOptions(string cacheDir) -> void
~Imageflow.Server.HybridCache.HybridCacheService.GetIssues() -> System.Collections.Generic.IEnumerable<Imazen.Common.Issues.IIssue>
~Imageflow.Server.HybridCache.HybridCacheService.GetOrCreateBytes(byte[] key, Imazen.Common.Extensibility.StreamCache.AsyncBytesResult dataProviderCallback, System.Threading.CancellationToken cancellationToken, bool retrieveContentType) -> System.Threading.Tasks.Task<Imazen.Common.Extensibility.StreamCache.IStreamCacheResult>
~Imageflow.Server.HybridCache.HybridCacheService.HybridCacheService(Imageflow.Server.HybridCache.HybridCacheOptions options, Microsoft.Extensions.Logging.ILogger<Imageflow.Server.HybridCache.HybridCacheService> logger) -> void
~Imageflow.Server.HybridCache.HybridCacheService.StartAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task
~Imageflow.Server.HybridCache.HybridCacheService.StopAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task
~static Imageflow.Server.HybridCache.HybridCacheServiceExtensions.AddImageflowHybridCache(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Imageflow.Server.HybridCache.HybridCacheOptions options) -> Microsoft.Extensions.DependencyInjection.IServiceCollectionImageflow.Server.HybridCache.HybridCacheOptions
Imageflow.Server.HybridCache.HybridCacheOptions.CacheSizeLimitInBytes.get -> long
Imageflow.Server.HybridCache.HybridCacheOptions.CacheSizeLimitInBytes.set -> void
Imageflow.Server.HybridCache.HybridCacheOptions.CacheSizeMb.get -> long
Imageflow.Server.HybridCache.HybridCacheOptions.CacheSizeMb.set -> void
Imageflow.Server.HybridCache.HybridCacheOptions.DatabaseShards.get -> int
Imageflow.Server.HybridCache.HybridCacheOptions.DatabaseShards.set -> void
Imageflow.Server.HybridCache.HybridCacheOptions.EvictionSweepSizeMb.get -> long
Imageflow.Server.HybridCache.HybridCacheOptions.EvictionSweepSizeMb.set -> void
Imageflow.Server.HybridCache.HybridCacheOptions.MinAgeToDelete.get -> System.TimeSpan
Imageflow.Server.HybridCache.HybridCacheOptions.MinAgeToDelete.set -> void
Imageflow.Server.HybridCache.HybridCacheOptions.MinCleanupBytes.get -> long
Imageflow.Server.HybridCache.HybridCacheOptions.MinCleanupBytes.set -> void
Imageflow.Server.HybridCache.HybridCacheOptions.QueueSizeLimitInBytes.get -> long
Imageflow.Server.HybridCache.HybridCacheOptions.QueueSizeLimitInBytes.set -> void
Imageflow.Server.HybridCache.HybridCacheOptions.WriteQueueMemoryMb.get -> long
Imageflow.Server.HybridCache.HybridCacheOptions.WriteQueueMemoryMb.set -> void
Imageflow.Server.HybridCache.HybridCacheService
Imageflow.Server.HybridCache.HybridCacheServiceExtensions
~Imageflow.Server.HybridCache.HybridCacheOptions.DiskCacheDirectory.get -> string
~Imageflow.Server.HybridCache.HybridCacheOptions.DiskCacheDirectory.set -> void
~Imageflow.Server.HybridCache.HybridCacheOptions.HybridCacheOptions(string cacheDir) -> void
~Imageflow.Server.HybridCache.HybridCacheService.GetIssues() -> System.Collections.Generic.IEnumerable<Imazen.Common.Issues.IIssue>
~Imageflow.Server.HybridCache.HybridCacheService.GetOrCreateBytes(byte[] key, Imazen.Common.Extensibility.StreamCache.AsyncBytesResult dataProviderCallback, System.Threading.CancellationToken cancellationToken, bool retrieveContentType) -> System.Threading.Tasks.Task<Imazen.Common.Extensibility.StreamCache.IStreamCacheResult>
~Imageflow.Server.HybridCache.HybridCacheService.HybridCacheService(Imageflow.Server.HybridCache.HybridCacheOptions options, Microsoft.Extensions.Logging.ILogger<Imageflow.Server.HybridCache.HybridCacheService> logger) -> void
~Imageflow.Server.HybridCache.HybridCacheService.StartAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task
~Imageflow.Server.HybridCache.HybridCacheService.StopAsync(System.Threading.CancellationToken cancellationToken) -> System.Threading.Tasks.Task
~static Imageflow.Server.HybridCache.HybridCacheServiceExtensions.AddImageflowHybridCache(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Imageflow.Server.HybridCache.HybridCacheOptions options) -> Microsoft.Extensions.DependencyInjection.IServiceCollection
Loading

0 comments on commit c85beb9

Please sign in to comment.