Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for renameat (0.16 sec)

  1. cmd/erasure-multipart.go

    	}
    
    	return er.newMultipartUpload(ctx, bucket, object, opts)
    }
    
    // renamePart - renames multipart part to its relevant location under uploadID.
    func renamePart(ctx context.Context, disks []StorageAPI, srcBucket, srcEntry, dstBucket, dstEntry string, writeQuorum int) ([]StorageAPI, error) {
    	g := errgroup.WithNErrs(len(disks))
    
    	// Rename file on all underlying storage disks.
    	for index := range disks {
    		index := index
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    		minioMetaBucket,
    	} {
    		if strings.HasPrefix(volume, prefix) {
    			return true
    		}
    	}
    	return ok
    }
    
    // RenameData - rename source path to destination path atomically, metadata and data directory.
    func (s *xlStorage) RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo, dstVolume, dstPath string, opts RenameOptions) (res RenameDataResp, err error) {
    	defer func() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy

            when:
            def newInitScript1 = file('new' + initScript1.name)
            def newInitScript2 = file('new' + initScript2.name)
            initScript1.renameTo(newInitScript1)
            initScript2.renameTo(newInitScript2)
            configurationCacheRun 'build', '-I', newInitScript1.absolutePath, '-I', newInitScript2.absolutePath
    
            then:
            outputDoesNotContain 'initscript1!'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. cmd/naughty-disk_test.go

    		return err
    	}
    	return d.disk.AppendFile(ctx, volume, path, buf)
    }
    
    func (d *naughtyDisk) RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo, dstVolume, dstPath string, opts RenameOptions) (RenameDataResp, error) {
    	if err := d.calcError(); err != nil {
    		return RenameDataResp{}, err
    	}
    	return d.disk.RenameData(ctx, srcVolume, srcPath, fi, dstVolume, dstPath, opts)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. pkg/log/options.go

    	//
    	// This path is used as a foundational path. This is where log output is normally
    	// saved. When a rotation needs to take place because the file got too big,
    	// then the file is renamed by appending a timestamp to the name. Such renamed
    	// files are called backups. Once a backup has been created,
    	// output resumes to this path.
    	RotateOutputPath string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:04:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. cmd/storage-interface.go

    	ReadVersion(ctx context.Context, origvolume, volume, path, versionID string, opts ReadOptions) (FileInfo, error)
    	ReadXL(ctx context.Context, volume, path string, readData bool) (RawFileInfo, error)
    	RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo, dstVolume, dstPath string, opts RenameOptions) (RenameDataResp, error)
    
    	// File operations.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    		}
    	}
    	encoder.Encode(dErrsResp)
    }
    
    // RenameDataHandler - renames a meta object and data dir to destination.
    func (s *storageRESTServer) RenameDataHandler(p *RenameDataHandlerParams) (*RenameDataResp, *grid.RemoteErr) {
    	if !s.checkID(p.DiskID) {
    		return nil, grid.NewRemoteErr(errDiskNotFound)
    	}
    
    	resp, err := s.getStorage().RenameData(context.Background(), p.SrcVolume, p.SrcPath, p.FI, p.DstVolume, p.DstPath, p.Opts)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  8. cmd/storage-rest-client.go

    		Volume:   volume,
    		FilePath: path,
    		FI:       fi,
    	})
    	if err != nil {
    		return nil, err
    	}
    	return resp, nil
    }
    
    // RenameData - rename source path to destination path atomically, metadata and data file.
    func (client *storageRESTClient) RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo,
    	dstVolume, dstPath string, opts RenameOptions,
    ) (res RenameDataResp, err error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  9. cmd/erasure-healing.go

    	// Rename from tmp location to the actual location.
    	for i, disk := range outDatedDisks {
    		if disk == OfflineDisk {
    			continue
    		}
    
    		// record the index of the updated disks
    		partsMetadata[i].Erasure.Index = i + 1
    
    		// Attempt a rename now from healed data to final location.
    		partsMetadata[i].SetHealing()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    ```kotlin
    plugins {
        `gradle-enterprise`
    }
    ```
    
    There is no equivalent to this in `settings.gradle` (Groovy DSL).
    
    Gradle Enterprise has been renamed to Develocity and the `com.gradle.enterprise` plugin has been renamed to `com.gradle.develocity`.
    Therefore, the `gradle-enterprise` plugin block extension has been deprecated and will be removed in Gradle 9.0.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
Back to top