code: func IsEmpty(fs Fs, path string) (bool, error) {
  	if b, _ := Exists(fs, path); !b {
  		return false, fmt.Errorf("%q path does not exist", path)
  	}
  	fi, err := fs.Stat(path)
  	if err != nil {
  		return false, err
  	}
  	if fi.IsDir() {
  		f, err := fs.Open(path)
  		if err != nil {
  			return false, err
  		}
  		defer f.Close()
  		list, err := f.Readdir(-1)
  		return len(list) == 0, nil
  	}
  	return fi.Size() == 0, nil
  }
docs: // IsEmpty checks if a given file or directory is empty.