chore: add copyright header
All checks were successful
default / dotnet default workflow (8.0) (push) Successful in 47s
All checks were successful
default / dotnet default workflow (8.0) (push) Successful in 47s
This commit is contained in:
parent
9fb5ab2d38
commit
d3bd04fe39
48 changed files with 153 additions and 9 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using Spectre.Console.Cli;
|
using Spectre.Console.Cli;
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Tests.Dummy;
|
namespace Geekeey.Extensions.Process.Tests.Dummy;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using Spectre.Console.Cli;
|
using Spectre.Console.Cli;
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Tests.Dummy.Commands;
|
namespace Geekeey.Extensions.Process.Tests.Dummy.Commands;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Buffers;
|
using System.Buffers;
|
||||||
|
|
||||||
using Spectre.Console.Cli;
|
using Spectre.Console.Cli;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using Spectre.Console.Cli;
|
using Spectre.Console.Cli;
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Tests.Dummy.Commands;
|
namespace Geekeey.Extensions.Process.Tests.Dummy.Commands;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using Spectre.Console.Cli;
|
using Spectre.Console.Cli;
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Tests.Dummy.Commands;
|
namespace Geekeey.Extensions.Process.Tests.Dummy.Commands;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Buffers;
|
using System.Buffers;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Buffers;
|
using System.Buffers;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Buffers;
|
using System.Buffers;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using Spectre.Console.Cli;
|
using Spectre.Console.Cli;
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Tests.Dummy.Commands;
|
namespace Geekeey.Extensions.Process.Tests.Dummy.Commands;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using Spectre.Console.Cli;
|
using Spectre.Console.Cli;
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Tests.Dummy.Commands;
|
namespace Geekeey.Extensions.Process.Tests.Dummy.Commands;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Tests.Dummy;
|
namespace Geekeey.Extensions.Process.Tests.Dummy;
|
||||||
|
|
||||||
[Flags]
|
[Flags]
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
using System.Reflection;
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
|
using System.Reflection;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
using Geekeey.Extensions.Process.Tests.Dummy.Commands;
|
using Geekeey.Extensions.Process.Tests.Dummy.Commands;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Tests.Dummy;
|
namespace Geekeey.Extensions.Process.Tests.Dummy;
|
||||||
|
|
||||||
internal sealed class Terminal : IDisposable
|
internal sealed class Terminal : IDisposable
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using Geekeey.Extensions.Process.Buffered;
|
using Geekeey.Extensions.Process.Buffered;
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Tests;
|
namespace Geekeey.Extensions.Process.Tests;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
using Geekeey.Extensions.Process.Buffered;
|
using Geekeey.Extensions.Process.Buffered;
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
namespace Geekeey.Extensions.Process.Tests;
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
|
namespace Geekeey.Extensions.Process.Tests;
|
||||||
|
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
internal sealed class CommandTests
|
internal sealed class CommandTests
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|
||||||
using Geekeey.Extensions.Process.Buffered;
|
using Geekeey.Extensions.Process.Buffered;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Tests;
|
namespace Geekeey.Extensions.Process.Tests;
|
||||||
|
|
||||||
internal static class ProcessTree
|
internal static class ProcessTree
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Tests;
|
namespace Geekeey.Extensions.Process.Tests;
|
||||||
|
|
||||||
internal sealed class TestEnvironment(Action action) : IDisposable
|
internal sealed class TestEnvironment(Action action) : IDisposable
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Tests;
|
namespace Geekeey.Extensions.Process.Tests;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Tests;
|
namespace Geekeey.Extensions.Process.Tests;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Tests;
|
namespace Geekeey.Extensions.Process.Tests;
|
||||||
|
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using Geekeey.Extensions.Process.Buffered;
|
using Geekeey.Extensions.Process.Buffered;
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Tests;
|
namespace Geekeey.Extensions.Process.Tests;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
using Geekeey.Extensions.Process.Buffered;
|
using Geekeey.Extensions.Process.Buffered;
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
[assembly: Parallelizable(ParallelScope.Fixtures)]
|
[assembly: Parallelizable(ParallelScope.Fixtures)]
|
||||||
// [assembly: LevelOfParallelism(3)]
|
// [assembly: LevelOfParallelism(3)]
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using Geekeey.Extensions.Process.Buffered;
|
using Geekeey.Extensions.Process.Buffered;
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Tests;
|
namespace Geekeey.Extensions.Process.Tests;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Win.Notify;
|
namespace Geekeey.Extensions.Process.Win.Notify;
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
namespace Geekeey.Extensions.Process.Win.Notify;
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
|
namespace Geekeey.Extensions.Process.Win.Notify;
|
||||||
|
|
||||||
internal static class Program
|
internal static class Program
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Buffered;
|
namespace Geekeey.Extensions.Process.Buffered;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process.Buffered;
|
namespace Geekeey.Extensions.Process.Buffered;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process;
|
namespace Geekeey.Extensions.Process;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Diagnostics.CodeAnalysis;
|
using System.Diagnostics.CodeAnalysis;
|
||||||
using System.Diagnostics.Contracts;
|
using System.Diagnostics.Contracts;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process;
|
namespace Geekeey.Extensions.Process;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Diagnostics.Contracts;
|
using System.Diagnostics.Contracts;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
namespace Geekeey.Extensions.Process;
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
|
namespace Geekeey.Extensions.Process;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Instructions for running a process.
|
/// Instructions for running a process.
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
using Geekeey.Extensions.Process;
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
|
using Geekeey.Extensions.Process;
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process;
|
namespace Geekeey.Extensions.Process;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process;
|
namespace Geekeey.Extensions.Process;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
namespace Geekeey.Extensions.Process;
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
|
namespace Geekeey.Extensions.Process;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents the result of a command execution.
|
/// Represents the result of a command execution.
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
using System.Runtime.CompilerServices;
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process;
|
namespace Geekeey.Extensions.Process;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Runtime.Versioning;
|
using System.Runtime.Versioning;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Runtime.Versioning;
|
using System.Runtime.Versioning;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process;
|
namespace Geekeey.Extensions.Process;
|
||||||
|
|
||||||
internal static class BufferSizes
|
internal static class BufferSizes
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
using System.Buffers;
|
using System.Buffers;
|
||||||
using System.Diagnostics.CodeAnalysis;
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
using System.Text;
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process;
|
namespace Geekeey.Extensions.Process;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
using System.Buffers;
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
|
using System.Buffers;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process;
|
namespace Geekeey.Extensions.Process;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Copyright (c) The Geekeey Authors
|
||||||
|
// SPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
namespace Geekeey.Extensions.Process;
|
namespace Geekeey.Extensions.Process;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in a new issue