Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ftc (0.03 sec)

  1. pkg/volume/hostpath/host_path.go

    }
    
    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
    	}
    	return string(pathType) == string(v1.HostPathDirectory)
    }
    
    func (ftc *fileTypeChecker) MakeDir() error {
    	return makeDir(ftc.path)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top