You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,5 +81,6 @@ Trying to pull registry.example.com/myservice@sha256:a3f75d0932d052dd9d448a1c904
81
81
82
82
* Watch some talks:
83
83
84
+
*[How to put Swift in a box](https://www.youtube.com/watch?v=MV0wACpikyw) at [Open Source Summit North America 2025](https://events.linuxfoundation.org/archive/2025/open-source-summit-north-america/).
84
85
*[How to put Swift in a box](https://fosdem.org/2025/schedule/event/fosdem-2025-5116-how-to-put-swift-in-a-box-building-container-images-with-swift-container-plugin/) at [FOSDEM 2025](https://fosdem.org/2025/schedule/track/swift/).
85
86
*[Swift to the cloud in a single step](https://www.youtube.com/watch?v=9AaINsCfZzw) at [ServerSide.Swift 2024](https://www.serversideswift.info/2024/speakers/euan-harris/).
Copy file name to clipboardExpand all lines: Sources/ContainerRegistry/ScratchImage.swift
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,10 @@ public struct ScratchImage {
27
27
varmanifestDescriptor:ContentDescriptor
28
28
varindex:ImageIndex
29
29
30
+
/// Construct a `ScratchImage` structure, representing a scratch container image with no contents.
31
+
/// - Parameters:
32
+
/// - architecture: The CPU architecture encoded in the scratch image layer. The scratch layer is empty, but this value should match any layers stacked on top of it.
33
+
/// - os: The operating system name encoded in the scratch image layer. The scratch layer is empty, but this value should match any layers stacked on top of it.
Copy file name to clipboardExpand all lines: Sources/Tar/tar.swift
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -242,6 +242,22 @@ public struct TarHeader {
242
242
/// Filename prefix - prepended to name
243
243
varprefix:String=""
244
244
245
+
/// Construct a Tar archive header block
246
+
/// - Parameters:
247
+
/// - name: File name
248
+
/// - mode: Access mode
249
+
/// - uid: File owner's user ID
250
+
/// - gid: File's group ID
251
+
/// - size: File size in octets
252
+
/// - mtime: Last modification time
253
+
/// - typeflag: Type of file represented by this header
254
+
/// - linkname: Reference to a previous file in the archive. Only valid when `typeflag` is `.LNKTYPE`. This is an internal link in the archive file, _not_ a symbolic link.
255
+
/// - uname: File owner's user name
256
+
/// - gname: File's group name
257
+
/// - devmajor: Device major number. Only valid when `typeflag` is `.BLKTYPE` or `.CHRTYPE`.
258
+
/// - devminor: Device minor number. Only valid when `typeflag` is `.BLKTYPE` or `.CHRTYPE`.
259
+
/// - prefix: Optional filename prefix, allowing file names longer than 100 octets to be stored.
260
+
/// - Throws: If the value of any field cannot be represented in a Tar header.
0 commit comments