hasContent property

bool hasContent

Checks if this header indicates that the file will have content.

Implementation

bool get hasContent {
  switch (typeFlag) {
    case TypeFlag.link:
    case TypeFlag.symlink:
    case TypeFlag.block:
    case TypeFlag.dir:
    case TypeFlag.char:
    case TypeFlag.fifo:
      return false;
    default:
      return true;
  }
}