class ActualTimestampProvider implements ModificationTimeProvider {

  @Override
  public Instant get(Path local, AbsoluteUnixPath inContainer) {
    try {
      return Files.getLastModifiedTime(local).toInstant();
    } catch (IOException ex) {
      throw new RuntimeException(local.toString(), ex);
    }
  }

}