Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 118 for renameTo (0.06 sec)

  1. docs/debugging/inspect/main.go

    	defer input.Close()
    
    	// Decrypt the inspect data
    	switch {
    	case *keyHex != "":
    		// Backup any already existing output file
    		_, err := os.Stat(outputFileName)
    		if err == nil {
    			err := os.Rename(outputFileName, outputFileName+"."+time.Now().Format("20060102150405"))
    			if err != nil {
    				fatalErr(err)
    			}
    		}
    		output, err := os.Create(outputFileName)
    		fatalErr(err)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 17 17:09:42 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    		// Make sure to return object info to provide extra information.
    		return objInfo, wquorum, toObjectErr(errMethodNotAllowed, bucket, object)
    	}
    
    	return objInfo, wquorum, nil
    }
    
    // Similar to rename but renames data from srcEntry to dstEntry at dataDir
    func renameData(ctx context.Context, disks []StorageAPI, srcBucket, srcEntry string, metadata []FileInfo, dstBucket, dstEntry string, writeQuorum int) ([]StorageAPI, []byte, string, error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/generate-clients.md

    {* ../../docs_src/generate_clients/tutorial004.py *}
    
    //// tab | Node.js
    
    ```Javascript
    {!> ../../docs_src/generate_clients/tutorial004.js!}
    ```
    
    ////
    
    With that, the operation IDs would be renamed from things like `items-get_items` to just `get_items`, that way the client generator can generate simpler method names.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 10.1K bytes
    - Viewed (1)
  4. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        void testGetAction() throws SMBProtocolDecodingException {
            int expectedAction = FileNotifyInformation.FILE_ACTION_RENAMED_NEW_NAME;
            byte[] buffer = createValidNotificationBuffer("renamed.txt", expectedAction);
    
            notifyInfo.decode(buffer, 0, buffer.length);
    
            assertEquals(expectedAction, notifyInfo.getAction());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

       * characters).
       *
       * @param c the character to escape
       * @return the replacement characters, or {@code null} if no escaping was required
       */
      // TODO(dbeaumont,cpovirk): Rename this something better once refactoring done
      protected abstract char @Nullable [] escapeUnsafe(char c);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. api/go1.25.txt

    pkg os, method (*Root) ReadFile(string) ([]uint8, error) #73126
    pkg os, method (*Root) Readlink(string) (string, error) #67002
    pkg os, method (*Root) RemoveAll(string) error #67002
    pkg os, method (*Root) Rename(string, string) error #67002
    pkg os, method (*Root) Symlink(string, string) error #67002
    pkg os, method (*Root) WriteFile(string, []uint8, fs.FileMode) error #73126
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jun 02 16:09:57 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/extra-models.md

    {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *}
    
    
    /// info
    
    In Pydantic v1 the method was called `.dict()`, it was deprecated (but still supported) in Pydantic v2, and renamed to `.model_dump()`.
    
    The examples here use `.dict()` for compatibility with Pydantic v1, but you should use `.model_dump()` instead if you can use Pydantic v2.
    
    ///
    
    ### About `**user_in.dict()` { #about-user-in-dict }
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body.md

    {* ../../docs_src/body/tutorial002_py310.py *}
    
    /// info
    
    In Pydantic v1 the method was called `.dict()`, it was deprecated (but still supported) in Pydantic v2, and renamed to `.model_dump()`.
    
    The examples here use `.dict()` for compatibility with Pydantic v1, but you should use `.model_dump()` instead if you can use Pydantic v2.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:58:56 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

             * File was removed from the directory
             */
            FILE_REMOVED,
            /**
             * File was modified in the directory
             */
            FILE_MODIFIED,
            /**
             * Directory was renamed
             */
            DIRECTORY_RENAMED,
            /**
             * File or directory attributes were changed
             */
            ATTRIBUTES_CHANGED
        }
    
        /**
         * SMB2 File Action constants
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  10. docs/ftp/README.md

    | put                 | yes       |
    | ls                  | yes       |
    | mkdir               | yes       |
    | rmdir               | yes       |
    | delete              | yes       |
    | append              | no        |
    | rename              | no        |
    
    MinIO supports following FTP/SFTP based protocols to access and manage data.
    
    - Secure File Transfer Protocol (SFTP) – Defined by the Internet Engineering Task Force (IETF) as an
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 07 06:41:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top