code: func (ts *Store) GetIDs() ([]string, error) {
  	var treeStoreIDs []string
  	ls, err := ioutil.ReadDir(ts.dir)
  	if err != nil {
  		if !os.IsNotExist(err) {
  			return nil, errwrap.Wrap(errors.New("cannot read treestore directory"), err)
  		}
  	}
  
  	for _, p := range ls {
  		if p.IsDir() {
  			id := filepath.Base(p.Name())
  			treeStoreIDs = append(treeStoreIDs, id)
  		}
  	}
  	return treeStoreIDs, nil
  }
docs: // GetIDs returns a slice containing all the treeStore's IDs available
  // (both fully or partially rendered).