Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,070 for nfiles (0.18 sec)

  1. docs/en/docs/tutorial/static-files.md

    # Static Files
    
    You can serve static files automatically from a directory using `StaticFiles`.
    
    ## Use `StaticFiles`
    
    * Import `StaticFiles`.
    * "Mount" a `StaticFiles()` instance in a specific path.
    
    ```Python hl_lines="2  6"
    {!../../../docs_src/static_files/tutorial001.py!}
    ```
    
    !!! note "Technical Details"
        You could also use `from starlette.staticfiles import StaticFiles`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 19:56:09 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

        def "can filter the elements of a file collection using a closure hitting the filesystem"() {
            given:
            file("files/file0.txt") << ""
            file("files/dir1/file1.txt") << ""
            file("files/dir2/file2.txt") << ""
    
            and:
            buildFile """
                def files = files("files/file0.txt", "files/dir1", "files/dir2", "files/dir3").elements.map {
                    it.findAll { file ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/static-files.md

    {!../../../docs_src/static_files/tutorial001.py!}
    ```
    
    !!! note "기술적 세부사항"
        `from starlette.staticfiles import StaticFiles` 를 사용할 수도 있습니다.
    
        **FastAPI**는 단지 개발자인, 당신에게 편의를 제공하기 위해 `fastapi.static files` 와 동일한 `starlett.static files`를 제공합니다. 하지만 사실 이것은 Starlett에서 직접 온 것입니다.
    
    ### "마운팅" 이란
    
    "마운팅"은 특정 경로에 완전히 "독립적인" 애플리케이션을 추가하는 것을 의미하는데, 그 후 모든 하위 경로에 대해서도 적용됩니다.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 22 19:42:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/TasksWithInputsAndOutputs.groovy

            buildFile << """
                class ShowFilesTask extends DefaultTask {
                    @InputFiles
                    final ConfigurableFileCollection inFiles = project.files()
                    @TaskAction
                    def go() {
                        println "result = " + inFiles.files.name
                    }
                }
            """
        }
    
        def taskTypeLogsArtifactCollectionDetails(TestFile buildFile = getBuildFile()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  5. pkg/kubelet/kubeletconfig/util/files/files.go

    	// create the dir
    	return fs.MkdirAll(path, defaultPerm)
    }
    
    // WriteTempDir creates a temporary dir at `path`, writes `files` into it, and fsyncs all the files
    // The keys of `files` represent file names. These names must not:
    // - be empty
    // - be a path that contains more than the base name of a file (e.g. foo/bar is invalid, as is /bar)
    // - match `.` or `..` exactly
    // - be longer than 255 characters
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 01:02:46 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/img/groovyPluginTasks.graphml

      <key for="graphml" id="d0" yfiles.type="resources"/>
      <key for="port" id="d1" yfiles.type="portgraphics"/>
      <key for="port" id="d2" yfiles.type="portgeometry"/>
      <key for="port" id="d3" yfiles.type="portuserdata"/>
      <key attr.name="url" attr.type="string" for="node" id="d4"/>
      <key attr.name="description" attr.type="string" for="node" id="d5"/>
      <key for="node" id="d6" yfiles.type="nodegraphics"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  7. src/crypto/purego_test.go

    			}
    
    			pkg, err := context.Import(pkgName, "", 0)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if len(pkg.SFiles) == 0 {
    				continue
    			}
    			t.Errorf("package %s has purego assembly files on %s: %v", pkgName, GOARCH, pkg.SFiles)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ArtifactResolutionExpectationSpec.groovy

        }
    
        /**
         * Short-hand notation for expecting a list of files independently of the fact module metadata is used or not
         * @param fileNames
         */
        void expectFiles(String... fileNames) {
            always {
                expectFiles(fileNames as List<String>)
            }
        }
    
        void noFiles() {
            always {
                noFiles()
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. pkg/test/util/yml/file.go

    	content := JoinString(contents...)
    	files, err := splitContentsToFiles(w.workDir, content, filenamePrefix)
    	if err != nil {
    		return nil, err
    	}
    
    	if len(files) == 0 {
    		f, err := writeContentsToTempFile(w.workDir, content)
    		if err != nil {
    			return nil, err
    		}
    		files = append(files, f)
    	}
    	out = append(out, files...)
    	return out, nil
    }
    
    // WriteYAMLOrFial calls WriteYAML and fails the test if an error occurs.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 07 14:33:54 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/list/list.go

            CFiles            []string   // .c source files
            CXXFiles          []string   // .cc, .cxx and .cpp source files
            MFiles            []string   // .m source files
            HFiles            []string   // .h, .hh, .hpp and .hxx source files
            FFiles            []string   // .f, .F, .for and .f90 Fortran source files
            SFiles            []string   // .s source files
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
Back to top