Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for GetFileType (0.24 sec)

  1. src/os/stat_windows.go

    		defer syscall.CloseHandle(h)
    		return statHandle(name, h)
    	}
    	return fi, err
    }
    
    func statHandle(name string, h syscall.Handle) (FileInfo, error) {
    	ft, err := syscall.GetFileType(h)
    	if err != nil {
    		return nil, &PathError{Op: "GetFileType", Path: name, Err: err}
    	}
    	switch ft {
    	case syscall.FILE_TYPE_PIPE, syscall.FILE_TYPE_CHAR:
    		return &fileStat{name: filepathlite.Base(name), filetype: ft}, nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/work/FileChange.java

         *     For {@link ChangeType#REMOVED} the type of the file which was removed is reported.
         * </p>
         */
        FileType getFileType();
    
        /**
         * The normalized path of the file, as specified by the path normalization strategy.
         *
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 06 13:15:59 UTC 2019
    - 1.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java

         */
        @Override
        public int getAttributes () {
            return getFileAttributes();
        }
    
    
        /**
         * @return the fileType
         */
        public final int getFileType () {
            return this.fileType;
        }
    
    
        /**
         * @return the deviceState
         */
        public final int getDeviceState () {
            return this.deviceState;
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/DefaultFileChange.java

            return new File(path);
        }
    
        @Override
        public ChangeType getChangeType() {
            return change.getPublicType();
        }
    
        @Override
        public org.gradle.api.file.FileType getFileType() {
            FileType typeToConvert = change == ChangeTypeInternal.REMOVED ? previousFileType : currentFileType;
            return toPublicFileType(typeToConvert);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/NonIncrementalInputChanges.java

            }
    
            @Override
            public ChangeType getChangeType() {
                return ChangeType.ADDED;
            }
    
            @Override
            public org.gradle.api.file.FileType getFileType() {
                return DefaultFileChange.toPublicFileType(fileType);
            }
    
            @Override
            public String getNormalizedPath() {
                return normalizedPath;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

         * 
         * @param config
         */
        public SmbComNTCreateAndXResponse ( Configuration config ) {
            super(config);
        }
    
    
        /**
         * @return the fileType
         */
        public final int getFileType () {
            return this.fileType;
        }
    
    
        /**
         * @return the isExtended
         */
        public final boolean isExtended () {
            return this.isExtended;
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  7. pkg/volume/util/hostutil/hostutil_test.go

    			if isOperationNotPermittedError(err) {
    				continue
    			}
    			t.Fatalf("[%d-%s] unexpected error : %v", idx, tc.name, err)
    		}
    
    		fileType, err := hu.GetFileType(path)
    		if err != nil {
    			t.Fatalf("[%d-%s] unexpected error : %v", idx, tc.name, err)
    		}
    		if fileType != tc.expectedType {
    			t.Fatalf("[%d-%s] expected %s, but got %s", idx, tc.name, tc.expectedType, fileType)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 16:02:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. pkg/volume/local/local.go

    	}
    
    	kvh, ok := plugin.host.(volume.KubeletVolumeHost)
    	if !ok {
    		return "", fmt.Errorf("plugin volume host does not implement KubeletVolumeHost interface")
    	}
    
    	fileType, err := kvh.GetHostUtil().GetFileType(spec.PersistentVolume.Spec.Local.Path)
    	if err != nil {
    		return "", err
    	}
    	switch fileType {
    	case hostutil.FileTypeDirectory:
    		return spec.PersistentVolume.Spec.Local.Path, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  9. src/internal/poll/fd_windows.go

    		return err
    	}
    	defer fd.decref()
    	return syscall.Fchdir(fd.Sysfd)
    }
    
    // GetFileType wraps syscall.GetFileType.
    func (fd *FD) GetFileType() (uint32, error) {
    	if err := fd.incref(); err != nil {
    		return 0, err
    	}
    	defer fd.decref()
    	return syscall.GetFileType(fd.Sysfd)
    }
    
    // GetFileInformationByHandle wraps GetFileInformationByHandle.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 16:50:42 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/AntlrTask.java

            if (inputChanges.isIncremental()) {
                boolean rebuildRequired = false;
                for (FileChange fileChange : inputChanges.getFileChanges(stableSources)) {
                    if (fileChange.getFileType() == FileType.FILE) {
                        if (fileChange.getChangeType() == ChangeType.REMOVED) {
                            rebuildRequired = true;
                            break;
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 9.8K bytes
    - Viewed (0)
Back to top