Updating explorer structures and functions#37
Merged
roshanmaskey merged 5 commits intogoogle:v0.6.0from Apr 13, 2026
Merged
Conversation
Bumps the go_modules group with 1 update in the / directory: [github.com/containerd/containerd](https://github.com/containerd/containerd). Updates `github.com/containerd/containerd` from 1.7.11 to 1.7.29 - [Release notes](https://github.com/containerd/containerd/releases) - [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md) - [Commits](containerd/containerd@v1.7.11...v1.7.29) Updates `golang.org/x/net` from 0.36.0 to 0.42.0 - [Commits](golang/net@v0.36.0...v0.42.0) --- updated-dependencies: - dependency-name: github.com/containerd/containerd dependency-version: 1.7.29 dependency-type: direct:production dependency-group: go_modules - dependency-name: golang.org/x/net dependency-version: 0.42.0 dependency-type: indirect dependency-group: go_modules ... Signed-off-by: dependabot[bot] <support@github.com>
…ules-2f335dec32 Bump the go_modules group across 1 directory with 2 updates
Fryyyyy
approved these changes
Apr 10, 2026
| imageRoot string // mounted image path | ||
| containerdRoot string | ||
| dockerRoot string | ||
| // root string // containerd root |
|
|
||
| // NewExplorer returns a ContainerExplorer interface to explore containerd. | ||
| func NewExplorer(imageroot string, root string, manifest string, snapshot string, layercache string, sc *explorers.SupportContainer) (explorers.ContainerExplorer, error) { | ||
| // func NewExplorer(imageroot string, root string, manifest string, snapshot string, layercache string, sc *explorers.SupportContainer) (explorers.ContainerExplorer, error) { |
| @@ -77,8 +91,12 @@ func NewExplorer(imageroot string, root string, manifest string, snapshot string | |||
| // The default snapshot root directrion location for containerd is | |||
| } | ||
|
|
||
| dirs, _ := filepath.Glob(filepath.Join(e.containerdRoot, "*")) | ||
| snapshotRoot := "unknown" |
Collaborator
There was a problem hiding this comment.
Could put this above and return it instead of a raw string with the same contents
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes:
ContainerTypefield. This indicates docker, container, or podman.GetContainerByID.ScanDiffDirectory.