mirror of
https://github.com/apple/container.git
synced 2026-07-11 20:17:08 +00:00
7358102c68
- Closes #1526 and #1527. ## Type of Change - [x] Bug fix - [ ] New feature - [ ] Breaking change - [ ] Documentation update ## Motivation and Context This PR fixes `system df` to report actual on-disk allocated bytes (content blobs + snapshots) instead of summing per-image snapshot sizes. Orphaned blobs are now included as reclaimable, and storage shared across tags is no longer double counted. Also consolidates three identical `calculateDirectorySize` implementations into a shared `FileManager.allocatedSize(of:)` extension. ## Testing - [x] Tested locally - [x] Added/updated tests - [ ] Added/updated docs
304 lines
9.1 KiB
JSON
304 lines
9.1 KiB
JSON
{
|
|
"originHash" : "2b649fdff52a3ba78453f5b81f7224584c2fa28ec12d4da8fa0c37f9ec832aa6",
|
|
"pins" : [
|
|
{
|
|
"identity" : "async-http-client",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/swift-server/async-http-client.git",
|
|
"state" : {
|
|
"revision" : "60235983163d040f343a489f7e2e77c1918a8bd9",
|
|
"version" : "1.26.1"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "containerization",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/containerization.git",
|
|
"state" : {
|
|
"revision" : "a2a1add6c7e1a1665e5397edc49d925c49090b3a",
|
|
"version" : "0.33.3"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "grpc-swift-2",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/grpc/grpc-swift-2.git",
|
|
"state" : {
|
|
"revision" : "f28854bc760a116e053fdfc4a48a9428c34625c0",
|
|
"version" : "2.3.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "grpc-swift-nio-transport",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/grpc/grpc-swift-nio-transport.git",
|
|
"state" : {
|
|
"revision" : "f37e0c2d293cea668b11e10e1fb1c24cb40781ff",
|
|
"version" : "2.4.4"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "grpc-swift-protobuf",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/grpc/grpc-swift-protobuf.git",
|
|
"state" : {
|
|
"revision" : "19153231a03c2fda1f4ea60da1b92a2cb9c011d8",
|
|
"version" : "2.2.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-algorithms",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-algorithms.git",
|
|
"state" : {
|
|
"revision" : "87e50f483c54e6efd60e885f7f5aa946cee68023",
|
|
"version" : "1.2.1"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-argument-parser",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-argument-parser.git",
|
|
"state" : {
|
|
"revision" : "c5d11a805e765f52ba34ec7284bd4fcd6ba68615",
|
|
"version" : "1.7.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-asn1",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-asn1.git",
|
|
"state" : {
|
|
"revision" : "f70225981241859eb4aa1a18a75531d26637c8cc",
|
|
"version" : "1.4.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-async-algorithms",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-async-algorithms.git",
|
|
"state" : {
|
|
"revision" : "6c050d5ef8e1aa6342528460db614e9770d7f804",
|
|
"version" : "1.1.1"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-atomics",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-atomics.git",
|
|
"state" : {
|
|
"revision" : "b601256eab081c0f92f059e12818ac1d4f178ff7",
|
|
"version" : "1.3.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-certificates",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-certificates.git",
|
|
"state" : {
|
|
"revision" : "133a347911b6ad0fc8fe3bf46ca90c66cff97130",
|
|
"version" : "1.17.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-collections",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-collections.git",
|
|
"state" : {
|
|
"revision" : "03cc312c2c933ed87abace34044a5dff7a3117c1",
|
|
"version" : "1.5.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-configuration",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-configuration",
|
|
"state" : {
|
|
"revision" : "be76c4ad929eb6c4bcaf3351799f2adf9e6848a9",
|
|
"version" : "1.2.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-configuration-toml",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/mattt/swift-configuration-toml",
|
|
"state" : {
|
|
"revision" : "4ea16b4dfa4b023cecae5ae0368402c4d846d613",
|
|
"version" : "2.0.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-crypto",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-crypto.git",
|
|
"state" : {
|
|
"revision" : "334e682869394ee239a57dbe9262bff3cd9495bd",
|
|
"version" : "3.14.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-docc-plugin",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/swiftlang/swift-docc-plugin.git",
|
|
"state" : {
|
|
"revision" : "3e4f133a77e644a5812911a0513aeb7288b07d06",
|
|
"version" : "1.4.5"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-docc-symbolkit",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/swiftlang/swift-docc-symbolkit",
|
|
"state" : {
|
|
"revision" : "b45d1f2ed151d057b54504d653e0da5552844e34",
|
|
"version" : "1.0.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-http-structured-headers",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-http-structured-headers.git",
|
|
"state" : {
|
|
"revision" : "76d7627bd88b47bf5a0f8497dd244885960dde0b",
|
|
"version" : "1.6.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-http-types",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-http-types.git",
|
|
"state" : {
|
|
"revision" : "45eb0224913ea070ec4fba17291b9e7ecf4749ca",
|
|
"version" : "1.5.1"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-log",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-log.git",
|
|
"state" : {
|
|
"revision" : "bbd81b6725ae874c69e9b8c8804d462356b55523",
|
|
"version" : "1.10.1"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-metrics",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-metrics",
|
|
"state" : {
|
|
"revision" : "d51c8d13fa366eec807eedb4e37daa60ff5bfdd5",
|
|
"version" : "2.10.1"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-nio",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-nio.git",
|
|
"state" : {
|
|
"revision" : "cd6710454f25733900e133c6caf5188952763c36",
|
|
"version" : "2.98.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-nio-extras",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-nio-extras.git",
|
|
"state" : {
|
|
"revision" : "a55c3dd3a81d035af8a20ce5718889c0dcab073d",
|
|
"version" : "1.29.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-nio-http2",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-nio-http2.git",
|
|
"state" : {
|
|
"revision" : "81cc18264f92cd307ff98430f89372711d4f6fe9",
|
|
"version" : "1.43.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-nio-ssl",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-nio-ssl.git",
|
|
"state" : {
|
|
"revision" : "173cc69a058623525a58ae6710e2f5727c663793",
|
|
"version" : "2.36.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-nio-transport-services",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-nio-transport-services.git",
|
|
"state" : {
|
|
"revision" : "e645014baea2ec1c2db564410c51a656cf47c923",
|
|
"version" : "1.25.1"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-numerics",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-numerics.git",
|
|
"state" : {
|
|
"revision" : "0c0290ff6b24942dadb83a929ffaaa1481df04a2",
|
|
"version" : "1.1.1"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-protobuf",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-protobuf.git",
|
|
"state" : {
|
|
"revision" : "86970144a0b86068c81ff48ee29b3f97cae0b879",
|
|
"version" : "1.36.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-service-lifecycle",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/swift-server/swift-service-lifecycle.git",
|
|
"state" : {
|
|
"revision" : "e7187309187695115033536e8fc9b2eb87fd956d",
|
|
"version" : "2.8.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-system",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/apple/swift-system.git",
|
|
"state" : {
|
|
"revision" : "7c6ad0fc39d0763e0b699210e4124afd5041c5df",
|
|
"version" : "1.6.4"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "swift-toml",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/mattt/swift-toml.git",
|
|
"state" : {
|
|
"revision" : "827506c90475e82d5a7f191f950fb3025cbdc0d6",
|
|
"version" : "2.0.0"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "yams",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/jpsim/Yams.git",
|
|
"state" : {
|
|
"revision" : "deaf82e867fa2cbd3cd865978b079bfcf384ac28",
|
|
"version" : "6.2.1"
|
|
}
|
|
},
|
|
{
|
|
"identity" : "zstd",
|
|
"kind" : "remoteSourceControl",
|
|
"location" : "https://github.com/facebook/zstd.git",
|
|
"state" : {
|
|
"revision" : "f8745da6ff1ad1e7bab384bd1f9d742439278e99",
|
|
"version" : "1.5.7"
|
|
}
|
|
}
|
|
],
|
|
"version" : 3
|
|
}
|