private void DeleteFunctionArtifacts(FunctionMetadataResponse function) { var testDataPath = function.GetFunctionTestDataFilePath(_config); if (!string.IsNullOrEmpty(testDataPath)) { FileUtility.DeleteFileSafe(testDataPath); } }
private void DeleteFunctionArtifacts(FunctionMetadataResponse function) { var hostOptions = _applicationHostOptions.CurrentValue.ToHostOptions(); var testDataPath = function.GetFunctionTestDataFilePath(hostOptions); if (!string.IsNullOrEmpty(testDataPath)) { FileUtility.DeleteFileSafe(testDataPath); } }
private void DeleteFunctionArtifacts(FunctionMetadataResponse function) { // TODO: clear secrets // TODO: clear logs FileUtility.DeleteFileSafe(function.GetFunctionTestDataFilePath(_config)); }