Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 1,946 for pathOf (0.12 seconds)

  1. cmd/metacache.go

    			}
    		}
    	}
    }
    
    // baseDirFromPrefix will return the base directory given an object path.
    // For example an object with name prefix/folder/object.ext will return `prefix/folder/`.
    func baseDirFromPrefix(prefix string) string {
    	b := path.Dir(prefix)
    	if b == "." || b == "./" || b == "/" {
    		b = ""
    	}
    	if !strings.Contains(prefix, slashSeparator) {
    		b = ""
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 12 16:23:16 GMT 2024
    - 6K bytes
    - Click Count (0)
  2. cmd/storage-rest-server.go

    			}
    
    			subrouter := router.PathPrefix(path.Join(storageRESTPrefix, endpoint.Path)).Subrouter()
    
    			subrouter.Methods(http.MethodPost).Path(storageRESTVersionPrefix + storageRESTMethodHealth).HandlerFunc(h(server.HealthHandler))
    			subrouter.Methods(http.MethodPost).Path(storageRESTVersionPrefix + storageRESTMethodAppendFile).HandlerFunc(h(server.AppendFileHandler))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

     */
    internal fun FileSystem.isCivilized(file: Path): Boolean {
      sink(file).use {
        try {
          delete(file)
          return true
        } catch (_: IOException) {
        }
      }
      delete(file)
      return false
    }
    
    /** Delete file we expect but don't require to exist. */
    internal fun FileSystem.deleteIfExists(path: Path) {
      try {
        delete(path)
      } catch (fnfe: FileNotFoundException) {
        return
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_body_multiple_params/test_tutorial005.py

                "version": "0.1.0",
            },
            "openapi": "3.1.0",
            "paths": {
                "/items/{item_id}": {
                    "put": {
                        "operationId": "update_item_items__item_id__put",
                        "parameters": [
                            {
                                "in": "path",
                                "name": "item_id",
                                "required": True,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  5. tests/test_filter_pydantic_sub_model_pv2.py

        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/model/{name}": {
                        "get": {
                            "summary": "Get Model A",
                            "operationId": "get_model_a_model__name__get",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

                    /*
                     * When DFS is in action all request paths are
                     * full UNC paths minus the first backslash like
                     * \server\share\path\to\file
                     * as opposed to normally
                     * \path\to\file
                     */
                    if (preq.getPath() != null && preq.getPath().length() > 0) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  7. docs/ru/docs/tutorial/first-steps.md

    Здесь переменная `app` будет экземпляром класса `FastAPI`.
    
    Это будет основная точка взаимодействия для создания всего вашего API.
    
    ### Шаг 3: создайте *операцию пути (path operation)* { #step-3-create-a-path-operation }
    
    #### Путь (path) { #path }
    
    Здесь «путь» — это последняя часть URL, начиная с первого символа `/`.
    
    Итак, в таком URL:
    
    ```
    https://example.com/items/foo
    ```
    
    ...путь будет:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  8. tests/test_schema_extra_examples.py

            @app.get("/path_example/{item_id}")
            def path_example(
                item_id: str = Path(
                    example="item_1",
                ),
            ):
                return item_id
    
        @app.get("/path_examples/{item_id}")
        def path_examples(
            item_id: str = Path(
                examples=["item_1", "item_2"],
            ),
        ):
            return item_id
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 32.2K bytes
    - Click Count (0)
  9. cmd/common-main.go

    	}
    
    	// Disallow relative paths, figure out absolute paths.
    	dirAbs, err := filepath.Abs(dir)
    	if err != nil {
    		return nil, err
    	}
    	err = mkdirAllIgnorePerm(dirAbs)
    	if err != nil {
    		return nil, fmt.Errorf("unable to create the directory `%s`: %w", dirAbs, err)
    	}
    
    	return &ConfigDir{path: dirAbs}, nil
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.5K bytes
    - Click Count (3)
  10. tests/test_tutorial/test_sql_databases/test_tutorial002.py

        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/heroes/": {
                        "post": {
                            "summary": "Create Hero",
                            "operationId": "create_hero_heroes__post",
                            "requestBody": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 17.9K bytes
    - Click Count (0)
Back to Top