コード例 #1
0
        private void DeleteFunctionArtifacts(FunctionMetadataResponse function)
        {
            var testDataPath = function.GetFunctionTestDataFilePath(_config);

            if (!string.IsNullOrEmpty(testDataPath))
            {
                FileUtility.DeleteFileSafe(testDataPath);
            }
        }
コード例 #2
0
        private void DeleteFunctionArtifacts(FunctionMetadataResponse function)
        {
            var hostOptions  = _applicationHostOptions.CurrentValue.ToHostOptions();
            var testDataPath = function.GetFunctionTestDataFilePath(hostOptions);

            if (!string.IsNullOrEmpty(testDataPath))
            {
                FileUtility.DeleteFileSafe(testDataPath);
            }
        }
コード例 #3
0
 private void DeleteFunctionArtifacts(FunctionMetadataResponse function)
 {
     // TODO: clear secrets
     // TODO: clear logs
     FileUtility.DeleteFileSafe(function.GetFunctionTestDataFilePath(_config));
 }