TmpfsMount Class
A tmpfs (in-memory) mount inside the container.
public sealed class TmpfsMount : IMount, IEquatable<TmpfsMount>- Implements
Constructors
| Name | Description |
|---|---|
| TmpfsMount(string) | A tmpfs (in-memory) mount inside the container. |
TmpfsMount(string)
TmpfsMount.csProperties
| Name | Description |
|---|---|
| Meziantou.Framework.TemporaryContainers.IMount.ContainerPath | |
| Mode | Gets the permissions of the root of the mount. null keeps the default of the runtime (1777). |
| Size | Gets the maximum size of the mount, in bytes. null keeps the default of the runtime, which is half of the memory of the host on Linux. |
| Target | The path inside the container. |
Meziantou.Framework.TemporaryContainers.IMount.ContainerPath
TmpfsMount.csMode
TmpfsMount.csGets the permissions of the root of the mount. null keeps the default of the runtime (1777).
public UnixFileMode? Mode { get; init; }Property value
Remarks
Apple's container runtime does not take options for a tmpfs mount.
Size
TmpfsMount.csTarget
TmpfsMount.csMethods
| Name | Description |
|---|---|
| Deconstruct(string) | |
| Equals(TmpfsMount?) | |
| Equals(object?) | |
| GetHashCode() | |
| ToString() |
Deconstruct(string)
Equals overloads
Equals(TmpfsMount?)
public bool Equals(TmpfsMount? other)No documentation is available.
Equals(object?)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(TmpfsMount?, TmpfsMount?) | |
| operator !=(TmpfsMount?, TmpfsMount?) |
operator ==(TmpfsMount?, TmpfsMount?)
public static bool operator ==(TmpfsMount? left, TmpfsMount? right)No documentation is available.
operator !=(TmpfsMount?, TmpfsMount?)
public static bool operator !=(TmpfsMount? left, TmpfsMount? right)No documentation is available.