code: func (u *volumeUtil) IsDir(fullPath string) (bool, error) {
  	dir, err := os.Open(fullPath)
  	if err != nil {
  		return false, err
  	}
  	defer dir.Close()
  
  	stat, err := dir.Stat()
  	if err != nil {
  		return false, err
  	}
  
  	return stat.IsDir(), nil
  }
docs: // IsDir checks if the given path is a directory