Beispiel #1
0
 /// <summary>
 /// Gets the name of the trap file for a given source/assembly file.
 /// </summary>
 /// <param name="srcFile">The source file.</param>
 /// <returns>The full filepath of the trap file.</returns>
 public string GetTrapPath(ILogger logger, string srcFile) => TrapWriter.TrapPath(logger, TRAP_FOLDER, srcFile);
Beispiel #2
0
 /// <summary>
 /// Gets the name of the trap file for a given source/assembly file.
 /// </summary>
 /// <param name="srcFile">The source file.</param>
 /// <returns>The full filepath of the trap file.</returns>
 public string GetTrapPath(ILogger logger, string srcFile, TrapWriter.CompressionMode trapCompression) => TrapWriter.TrapPath(logger, TRAP_FOLDER, srcFile, trapCompression);
Beispiel #3
0
 /// <summary>
 /// Gets the name of the trap file for this file.
 /// </summary>
 /// <returns>The full filepath of the trap file.</returns>
 public string GetTrapPath(ILogger logger, TrapWriter.CompressionMode trapCompression) =>
 TrapWriter.TrapPath(logger, Environment.GetEnvironmentVariable("CODEQL_EXTRACTOR_CSHARP_TRAP_DIR"), this, trapCompression);
Beispiel #4
0
 /// <summary>
 /// Gets the name of the trap file for a given source/assembly file.
 /// </summary>
 /// <param name="srcFile">The source file.</param>
 /// <returns>The full filepath of the trap file.</returns>
 public string GetTrapPath(ILogger logger, PathTransformer.ITransformedPath srcFile, TrapWriter.CompressionMode trapCompression) =>
 TrapWriter.TrapPath(logger, TRAP_FOLDER, srcFile, trapCompression);