ContainerEntry
public protocol ContainerEntry
A type that represents an entry from a container (file or directory) with attributes.
-
Retrieve name of the entry from the container.
Declaration
Swift
var name: String -
Retrieve size of the entry’s data from the container.
Declaration
Swift
var size: Int -
Check if entry is a directory.
Declaration
Swift
var isDirectory: Bool -
Retrieve entry’s data from the container.
Declaration
Swift
func data() throws -> Data
View on GitHub
ContainerEntry Protocol Reference