Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 45 for fileSystem (0.26 sec)

  1. src/os/file_unix.go

    		// the oldname error because that's what we did historically.
    		// However, if the old name and new name are not the same, yet
    		// they refer to the same file, it implies a case-only
    		// rename on a case-insensitive filesystem, which is ok.
    		if ofi, err := Lstat(oldname); err != nil {
    			if pe, ok := err.(*PathError); ok {
    				err = pe.Err
    			}
    			return &LinkError{"rename", oldname, newname, err}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net_test.go

    	fixture := getTestFixure(ctx)
    	netServer := fixture.netServer
    	ztunnelServer := fixture.ztunnelServer
    	podMeta := metav1.ObjectMeta{
    		Name:      "foo",
    		Namespace: "bar",
    		// this uid exists in the fake filesystem.
    		UID: "863b91d4-4b68-4efa-917f-4b560e3e86aa",
    	}
    	podIP := netip.MustParseAddr("99.9.9.9")
    	podIPs := []netip.Addr{podIP}
    	expectPodAddedToIPSet(fixture.ipsetDeps, podMeta)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  3. src/path/filepath/path.go

    // Clean(path) will always produce an unrooted path with no ".." path elements.
    //
    // IsLocal is a purely lexical operation.
    // In particular, it does not account for the effect of any symbolic links
    // that may exist in the filesystem.
    func IsLocal(path string) bool {
    	return filepathlite.IsLocal(path)
    }
    
    // Localize converts a slash-separated path into an operating system path.
    // The input path must be a valid path as reported by [io/fs.ValidPath].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. cmd/object-api-datatypes.go

    // BackendType - represents different backend types.
    type BackendType int
    
    // Enum for different backend types.
    const (
    	Unknown = BackendType(madmin.Unknown)
    	// Filesystem backend.
    	BackendFS = BackendType(madmin.FS)
    	// Multi disk BackendErasure (single, distributed) backend.
    	BackendErasure = BackendType(madmin.Erasure)
    	// Add your own backend.
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest-generate_test.go

    		{
    			// Use some arbitrary small test input (pilot only) since we are testing the local filesystem code here, not
    			// manifest generation.
    			desc:       "install_package_path",
    			diffSelect: "Deployment:*:istiod",
    			flags:      "--set installPackagePath=" + string(liveCharts),
    		},
    		{
    			// Specify both charts and profile from local filesystem.
    			desc:       "install_package_path",
    			diffSelect: "Deployment:*:istiod",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  6. src/archive/tar/writer.go

    	}
    	tw.curr = &regFileWriter{tw.w, size}
    	tw.pad = blockPadding(size)
    	return nil
    }
    
    // AddFS adds the files from fs.FS to the archive.
    // It walks the directory tree starting at the root of the filesystem
    // adding each file to the tar archive while maintaining the directory structure.
    func (tw *Writer) AddFS(fsys fs.FS) error {
    	return fs.WalkDir(fsys, ".", func(name string, d fs.DirEntry, err error) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. src/syscall/syscall_linux_test.go

    		}
    		// formatted so the values are aligned for easier comparison
    		t.Errorf("expected %s,\ngot      %s", want, got)
    	}
    }
    
    // filesystemIsNoSUID reports whether the filesystem for the given
    // path is mounted nosuid.
    func filesystemIsNoSUID(path string) bool {
    	var st syscall.Statfs_t
    	if syscall.Statfs(path, &st) != nil {
    		return false
    	}
    	return st.Flags&syscall.MS_NOSUID != 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. platforms/documentation/docs/build.gradle

                sourceDirectory = precompiledScriptPluginUtils.sourceDirectory
                target = "buildSrc"
            }
            problemsApiUsage
        }
    
        // TODO: Do this lazily so we don't need to walk the filesystem during configuration
        // iterate through each snippets and record their names and locations
        FileFilter directoriesOnly = { it.directory }
        def topLevelDirs = file('src/snippets').listFiles(directoriesOnly)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:37:11 UTC 2024
    - 42K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/storage/v1/types.go

    	// mounted only with a single SELinux context.
    	//
    	// When "false", Kubernetes won't pass any special SELinux mount options to the driver.
    	// This is typical for volumes that represent subdirectories of a bigger shared filesystem.
    	//
    	// Default is "false".
    	//
    	// +featureGate=SELinuxMountReadWriteOncePod
    	// +optional
    	SELinuxMount *bool `json:"seLinuxMount,omitempty" protobuf:"varint,8,opt,name=seLinuxMount"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 32K bytes
    - Viewed (0)
  10. cmd/endpoint.go

    		// As a special case make sure to trim the separator.
    
    		// NOTE: It is also perfectly fine for windows users to have a path
    		// without C:/ since at that point we treat it as relative path
    		// and obtain the full filesystem path as well. Providing C:/
    		// style is necessary to provide paths other than C:/,
    		// such as F:/, D:/ etc.
    		//
    		// Another additional benefit here is that this style also
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top