Summary
Gets the length of the file.
- Namespace
- Cake
.Testing - Containing Type
- FakeFile
Syntax
public long Length { get; private set; }
Examples
var file = context.FileSystem.GetFile("./README.md");
Information("{0} ({1} bytes)", file.Path, file.Length);
Value
| Type | Description |
|---|---|
| long | The length of the file. |
