FileType getFileType()

in fbpcf/io/FileManagerUtil.cpp [30:33]


FileType getFileType(const std::string& fileName) {
  // S3 file format: https://bucket-name.s3.Region.amazonaws.com/key-name
  return fileName.find("https://", 0) == 0 ? FileType::S3 : FileType::Local;
}