unixfs.go
func (s *Shell) FileList(path string) (*UnixLsObject, error) {
	var out lsOutput
	if err := s.Request("file/ls", path).Exec(context.Background(), &out); err != nil {
		return nil, err
	}

	for _, object := range out.Objects {
		return object, nil
	}

	return nil, fmt.Errorf("no object in results")
}
func (s *Shell) FileList(path string) (*UnixLsObject, error) {
	var out lsOutput
	if err := s.Request("file/ls", path).Exec(context.Background(), &out); err != nil {
		return nil, err
	}

	for _, object := range out.Objects {
		return object, nil
	}

	return nil, fmt.Errorf("no object in results")
}
// FileList entries at the given path using the UnixFS commands