{"id":13770789,"url":"https://github.com/pharo-containers/Containers-KeyedTree","last_synced_at":"2025-05-11T03:32:53.543Z","repository":{"id":150845563,"uuid":"131752306","full_name":"pharo-containers/Containers-KeyedTree","owner":"pharo-containers","description":"An implementation of KeyedTree","archived":false,"fork":false,"pushed_at":"2025-05-02T08:33:21.000Z","size":28,"stargazers_count":0,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-02T09:43:32.157Z","etag":null,"topics":["collections","pharo"],"latest_commit_sha":null,"homepage":null,"language":"Smalltalk","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pharo-containers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-05-01T19:07:55.000Z","updated_at":"2025-05-02T08:33:25.000Z","dependencies_parsed_at":"2023-08-31T09:48:06.026Z","dependency_job_id":null,"html_url":"https://github.com/pharo-containers/Containers-KeyedTree","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pharo-containers%2FContainers-KeyedTree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pharo-containers%2FContainers-KeyedTree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pharo-containers%2FContainers-KeyedTree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pharo-containers%2FContainers-KeyedTree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pharo-containers","download_url":"https://codeload.github.com/pharo-containers/Containers-KeyedTree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253514352,"owners_count":21920327,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["collections","pharo"],"created_at":"2024-08-03T17:00:42.133Z","updated_at":"2025-05-11T03:32:53.521Z","avatar_url":"https://github.com/pharo-containers.png","language":"Smalltalk","funding_links":[],"categories":["Data Structures"],"sub_categories":[],"readme":"# Containers-KeyedTree\nAn implementation of KeyedTree\n\n[![Build Status](https://travis-ci.com/Ducasse/Containers-KeyedTree.svg?branch=master)](https://travis-ci.com/Ducasse/Containers-KeyedTree)\n[![Coverage Status](https://coveralls.io/repos/github//Ducasse/Containers-KeyedTree/badge.svg?branch=master)](https://coveralls.io/github//Ducasse/Containers-KeyedTree?branch=master)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)]()\n[![Pharo version](https://img.shields.io/badge/Pharo-7.0-%23aac9ff.svg)](https://pharo.org/download)\n[![Pharo version](https://img.shields.io/badge/Pharo-8.0-%23aac9ff.svg)](https://pharo.org/download)\n\u003c!-- [![Build status](https://ci.appveyor.com/api/projects/status/1wdnjvmlxfbml8qo?svg=true)](https://ci.appveyor.com/project/olekscode/dataframe)  --\u003e\n\n\n\n## Example\nTo have an overview of the features this datastructure provide, have a look at the following code snippet (extracted from a unit test):\n\n```st\nfirstLevelOneSubTree := CTKeyedTree new.\nfirstLevelOneSubTree\n\tat: #two put: 'One-Two';\n\tat: #three put: 'One-Three'.\n\t\ntree := CTKeyedTree new.\ntree\n\tat: 1 put: firstLevelOneSubTree;\n\tat: 2 put: 'Two'.\n\t\nself assert: (tree atPath: #(1)) equals: firstLevelOneSubTree.\nself assert: (tree atPath: #(1 two)) equals: 'One-Two'.\nself assert: (tree atPath: #(1 three)) equals: 'One-Three'.\nself assert: (tree atPath: #(2)) equals: 'Two'.\nself should: [ tree atPath: #(2 4) ] raise: self defaultTestError.\nself should: [ tree atPath: #(1 two three) ] raise: self defaultTestError.\nself should: [ tree atPath: #(3) ] raise: self defaultTestError\n```\n\n## Loading\n\nThe following script installs Containers-Stack in Pharo.\n\n```st\nMetacello new\n\tbaseline: 'ContainersKeyedTree';\n\trepository: 'github://pharo-containers/Containers-KeyedTree:v1.0/src';\n\tload.\n```\n\n## If you want to depend on it\n\nAdd the following code to your Metacello baseline or configuration\n\n```\nspec \n   baseline: 'ContainersKeyedTree' \n   with: [ spec repository: 'github://pharo-containers/Containers-KeyedTree:v1.0/src' ]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpharo-containers%2FContainers-KeyedTree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpharo-containers%2FContainers-KeyedTree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpharo-containers%2FContainers-KeyedTree/lists"}