Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for dotpath (0.17 sec)

  1. cmd/xl-storage.go

    	return listVols(ctx, s.drivePath)
    }
    
    // List all the volumes from drivePath.
    func listVols(ctx context.Context, dirPath string) ([]VolInfo, error) {
    	if err := checkPathLength(dirPath); err != nil {
    		return nil, err
    	}
    	entries, err := readDir(dirPath)
    	if err != nil {
    		if errors.Is(err, errFileAccessDenied) {
    			return nil, errDiskAccessDenied
    		} else if errors.Is(err, errFileNotFound) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  2. pkg/volume/csi/csi_attacher_test.go

    				dataPath := filepath.Join(dir, volDataFileName)
    				if _, err := os.Stat(dataPath); !os.IsNotExist(err) {
    					if err != nil {
    						t.Errorf("error checking file %s: %s", dataPath, err)
    					} else {
    						t.Errorf("json file %s should not exists, but it does", dataPath)
    					}
    				} else {
    					t.Logf("json file %s was correctly removed", dataPath)
    				}
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                    }
    
                    final String dataPath = getResourcePath(indexConfigPath, fessConfig.getFesenType(), "/" + index + "/" + docType + ".bulk");
                    if (ResourceUtil.isExist(dataPath)) {
                        insertBulkData(fessConfig, indexName, dataPath);
                    }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  4. cmd/xl-storage_test.go

    	}
    
    	testCases := []struct {
    		srcVol      string
    		destVol     string
    		srcPath     string
    		destPath    string
    		expectedErr error
    	}{
    		// TestXLStorage case - 1.
    		{
    			srcVol:      "src-vol",
    			destVol:     "dest-vol",
    			srcPath:     "file1",
    			destPath:    "file-one",
    			expectedErr: nil,
    		},
    		// TestXLStorage case - 2.
    		{
    			srcVol:      "src-vol",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_client_test.go

    	record := &recordingConn{
    		Conn: tcpConn,
    	}
    
    	return record, cmd, stdin, out, nil
    }
    
    func (test *clientTest) dataPath() string {
    	return filepath.Join("testdata", "Client-"+test.name)
    }
    
    func (test *clientTest) loadData() (flows [][]byte, err error) {
    	in, err := os.Open(test.dataPath())
    	if err != nil {
    		return nil, err
    	}
    	defer in.Close()
    	return parseTestData(in)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapter.java

                    result.add(new DefaultLineInFileLocation(l.getPath(), l.getLine(), l.getColumn(), l.getLength()));
                } else if (location instanceof InternalOffsetInFileLocation) {
                    InternalOffsetInFileLocation l = (InternalOffsetInFileLocation) location;
                    result.add(new DefaultOffsetInFileLocation(l.getPath(), l.getOffset(), l.getLength()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 67.5K bytes
    - Viewed (0)
  7. src/cmd/internal/testdir/testdir_test.go

    		// If we add a file in the overlay, we don't want to add it in the original.
    		if info.IsDir() {
    			return os.MkdirAll(dstPath, perm|0200)
    		}
    
    		// If the OS supports symlinks, use them instead of copying bytes.
    		if err := os.Symlink(srcPath, dstPath); err == nil {
    			return nil
    		}
    
    		// Otherwise, copy the bytes.
    		src, err := os.Open(srcPath)
    		if err != nil {
    			return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_server_test.go

    	}
    
    	record := &recordingConn{
    		Conn: tcpConn,
    	}
    
    	return record, cmd, nil
    }
    
    func (test *serverTest) dataPath() string {
    	return filepath.Join("testdata", "Server-"+test.name)
    }
    
    func (test *serverTest) loadData() (flows [][]byte, err error) {
    	in, err := os.Open(test.dataPath())
    	if err != nil {
    		return nil, err
    	}
    	defer in.Close()
    	return parseTestData(in)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                if (f != null && scopeFilter.test(a.getScope())) {
                    final ArtifactHandler h = a.getArtifactHandler();
                    if (h.isAddedToClasspath()) {
                        list.add(f.getPath());
                    }
                }
            }
            return list;
        }
    
        /**
         * Returns the elements placed on the classpath for compilation.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 17:18:13 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    }
    
    func legacyUtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) (err error) {
    	if path[0] != '/' {
    		dirPath, err := ZosFdToPath(dirfd)
    		if err != nil {
    			return err
    		}
    		path = dirPath + "/" + path
    	}
    	if flags == AT_SYMLINK_NOFOLLOW {
    		if len(ts) != 2 {
    			return EINVAL
    		}
    
    		if ts[0].Nsec >= 5e8 {
    			ts[0].Sec++
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
Back to top