Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fireCount (0.27 sec)

  1. pkg/wasm/cache_test.go

    				moduleDeleted := false
    				for start := time.Now(); time.Since(start) < c.checkPurgeTimeout; {
    					fileCount := 0
    					err = filepath.Walk(tmpDir,
    						func(path string, info os.FileInfo, err error) error {
    							if err != nil {
    								return err
    							}
    							if !info.IsDir() {
    								fileCount++
    							}
    							return nil
    						})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/implementing_custom_tasks.adoc

        @TaskAction
        fun generateReport() {
            val fileCount = sourceDirectory.listFiles().count { it.isFile }
            val directoryCount = sourceDirectory.listFiles().count { it.isDirectory }
    
            val reportContent = """
                |Report for directory: ${sourceDirectory.absolutePath}
                |------------------------------
                |Number of files: $fileCount
                |Number of subdirectories: $directoryCount
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 05:34:54 UTC 2024
    - 37.2K bytes
    - Viewed (0)
Back to top