Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AtomicCopy (0.12 sec)

  1. cni/pkg/install/binaries.go

    	}
    
    	for _, f := range srcFiles {
    		if f.IsDir() {
    			continue
    		}
    
    		filename := f.Name()
    		srcFilepath := filepath.Join(srcDir, filename)
    
    		for _, targetDir := range targetDirs {
    			if err := file.AtomicCopy(srcFilepath, targetDir, filename); err != nil {
    				installLog.Errorf("failed file copy of %s to %s: %s", srcFilepath, targetDir, err.Error())
    				return copiedFilenames, err
    			}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top