- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for DirToArchive (0.13 sec)
-
platforms/documentation/docs/src/snippets/files/copy/kotlin/build.gradle.kts
@get:InputDirectory abstract val dirToArchive: DirectoryProperty } val archiveReportsTask by tasks.registering(MyArchiveTask::class) { dirToArchive = layout.buildDirectory.dir("toArchive") } // tag::copy-single-file-example-with-task-properties[] tasks.register<Copy>("copyReport2") { from(myReportTask.flatMap { it.outputFile }) into(archiveReportsTask.flatMap { it.dirToArchive }) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 8.2K bytes - Viewed (0) -
tools/bug-report/pkg/archive/archive.go
analyzeSubdir = "analyze" operatorLogsPathSubdir = "operator" cniLogsPathSubdir = "cni" ) var ( tmpDir string initDir sync.Once ) // DirToArchive is the dir to archive. func DirToArchive(rootDir string) string { return filepath.Dir(getRootDir(rootDir)) } // OutputRootDir is the root dir of output artifacts. func OutputRootDir(rootDir string) string { return getRootDir(rootDir)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 30 00:10:16 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/files/copy/groovy/build.gradle
} tasks.register('archiveReportsTask') { ext.dirToArchive = layout.buildDirectory.dir("toArchive") inputs.dir dirToArchive } // tag::copy-single-file-example-with-task-properties[] tasks.register('copyReport2', Copy) { from myReportTask.outputFile into archiveReportsTask.dirToArchive } // end::copy-single-file-example-with-task-properties[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 7.9K bytes - Viewed (0) -
tools/bug-report/pkg/bugreport/bugreport.go
outDir = outputDir } outPath := filepath.Join(outDir, "bug-report.tar.gz") if !config.DryRun { common.LogAndPrintf("Creating an archive at %s.\n", outPath) archiveDir := archive.DirToArchive(tempDir) if tempDir != "" { archiveDir = tempDir } curTime = time.Now() err := archive.Create(archiveDir, outPath) fmt.Printf("Time used for creating the tar file is %v.\n", time.Since(curTime))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 05 20:57:29 UTC 2024 - 20.7K bytes - Viewed (0)