- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for GetFileType (0.14 sec)
-
pkg/volume/util/hostutil/hostutil_linux.go
func (hu *HostUtil) MakeRShared(path string) error { return DoMakeRShared(path, procMountInfoPath) } // GetFileType checks for file/directory/socket/block/character devices. func (hu *HostUtil) GetFileType(pathname string) (FileType, error) { return getFileType(pathname) } // PathExists tests if the given path already exists // Error is returned on any other error than "file not found".
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 23 08:36:44 UTC 2023 - 10K bytes - Viewed (0) -
pkg/volume/hostpath/host_path.go
return false } pathType, err := ftc.hu.GetFileType(ftc.path) if err != nil { return false } return string(pathType) == string(v1.HostPathFile) } func (ftc *fileTypeChecker) MakeFile() error { return makeFile(ftc.path) } func (ftc *fileTypeChecker) IsDir() bool { if !ftc.Exists() { return false } pathType, err := ftc.hu.GetFileType(ftc.path) if err != nil { return false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 15.3K bytes - Viewed (0) -
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) -
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) -
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) -
src/os/types_windows.go
LastAccessTime syscall.Filetime LastWriteTime syscall.Filetime FileSizeHigh uint32 FileSizeLow uint32 // from Win32finddata and GetFileInformationByHandleEx ReparseTag uint32 // what syscall.GetFileType returns filetype uint32 // used to implement SameFile sync.Mutex path string vol uint32 idxhi uint32 idxlo uint32 appendNameToPath bool }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/recomp/AbstractRecompilationSpecProvider.java
return; } for (FileChange fileChange : sourceChanges) { if (spec.isFullRebuildNeeded()) { return; } if (fileChange.getFileType() != FileType.FILE) { continue; } String relativeFilePath = fileChange.getNormalizedPath();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 06 23:55:46 UTC 2024 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
*/ if ( this.getCommand() == SMB_COM_NT_CREATE_ANDX && ( (SmbComNTCreateAndXResponse) this ).isExtended() && ( (SmbComNTCreateAndXResponse) this ).getFileType() != 1 ) { this.wordCount += 8; } } bufferIndex = start + 1 + ( this.wordCount * 2 ); }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Nov 28 10:56:27 UTC 2022 - 14.3K bytes - Viewed (0) -
src/os/file_windows.go
func newFile(h syscall.Handle, name string, kind string) *File { if kind == "file" { var m uint32 if syscall.GetConsoleMode(h, &m) == nil { kind = "console" } if t, err := syscall.GetFileType(h); err == nil && t == syscall.FILE_TYPE_PIPE { kind = "pipe" } } f := &File{&file{ pfd: poll.FD{ Sysfd: h, IsStream: true, ZeroReadIsEOF: true, }, name: name,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:38:38 UTC 2024 - 13.4K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/custom_tasks.adoc
* the link:{javadocPath}/org/gradle/work/FileChange.html#getNormalizedPath--[normalized path] of the changed file * the link:{javadocPath}/org/gradle/work/FileChange.html#getFileType--[file type] of the changed file The following example demonstrates an incremental task that has a directory input.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Feb 25 15:21:05 UTC 2024 - 23.6K bytes - Viewed (0)