MCPcopy Index your code
hub / github.com/canonical/snapd

github.com/canonical/snapd @3.9.9-0sdhd5

Chat with this repo
repository ↗ · DeepWiki ↗ · release 3.9.9-0sdhd5 ↗ · + Follow
17,627 symbols 95,577 edges 1,686 files 3,665 documented · 21%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Snapcraft

Welcome to snapd

This is the code repository for snapd, the background service that manages and maintains installed snaps.

Snaps are app packages for desktop, cloud and IoT that update automatically, are easy to install, secure, cross-platform and dependency-free. They're being used on millions of Linux systems every day.

Alongside its various service and management functions, snapd: - provides the snap command that's used to install and remove snaps and interact with the wider snap ecosystem - implements the confinement policies that isolate snaps from the base system and from each other - governs the interfaces that allow snaps to access specific system resources outside of their confinement

For general details, including installation and Getting started guides, head over to our Snap documentation. If you're looking for something to install, such as Spotify or Visual Studio Code, take a look at the Snap Store. And if you want to build your own snaps, start with our Creating a snap documentation.

Get involved

This is an open source project and we warmly welcome community contributions, suggestions, and constructive feedback. If you're interested in contributing, please take a look at our Code of Conduct first.

Get in touch

We're friendly! We have a community forum at https://forum.snapcraft.io where we discuss feature plans, development news, issues, updates and troubleshooting. You can chat in realtime with the snapd team and our wider community on the #snappy IRC channel on freenode.

For news and updates, follow us on Twitter and on Facebook.

Project status

Service Status
Travis Build Status
GoReport Go Report Card
Codecov codecov

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 11,658
Function 3,791
Struct 1,699
Interface 157
TypeAlias 149
Class 135
FuncType 32
Enum 6

Languages

Go96%
C3%
Python1%
C++1%

Modules by API surface

overlord/snapstate/snapstate_test.go426 symbols
daemon/api_test.go286 symbols
overlord/ifacestate/ifacestate_test.go239 symbols
store/store_test.go173 symbols
snap/info.go139 symbols
asserts/ifacedecls.go135 symbols
interfaces/repo_test.go122 symbols
cmd/snap-update-ns/change_test.go109 symbols
cmd/snap/cmd_snap_op_test.go108 symbols
store/store.go107 symbols
snap/info_snap_yaml_test.go99 symbols
overlord/managers_test.go96 symbols

For agents

$ claude mcp add snapd \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page