mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
PS: Copy extractor and various scripts from internal repo to public repo.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
|
||||
namespace Semmle.Extraction.PowerShell
|
||||
{
|
||||
/// <summary>
|
||||
/// Callback for various extraction events.
|
||||
/// (Used for display of progress).
|
||||
/// </summary>
|
||||
public interface IProgressMonitor
|
||||
{
|
||||
/// <summary>
|
||||
/// Callback that a particular item has been analysed.
|
||||
/// </summary>
|
||||
/// <param name="item">The item number being processed.</param>
|
||||
/// <param name="total">The total number of items to process.</param>
|
||||
/// <param name="source">The name of the item, e.g. a source file.</param>
|
||||
/// <param name="output">The name of the item being output, e.g. a trap file.</param>
|
||||
/// <param name="time">The time to extract the item.</param>
|
||||
/// <param name="action">What action was taken for the file.</param>
|
||||
void Analysed(int item, int total, string source, string output, TimeSpan time, AnalysisAction action);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user