// Copyright (c) 2015 Chris Palmer <pennstate5013@gmail.com>
// Use of this source code is governed by the GPLv3 license that can be
// found in the LICENSE file.

use std::io::prelude::*;
use std::io::BufReader;
use std::fs::File;

pub fn read_to_vec(path_str: &str) -> Vec<String> {
    let mut file_vec: Vec<String> = Vec::new();

    let f = File::open(path_str).unwrap();
    let reader = BufReader::new(f);

    for line in reader.lines() {
        file_vec.push(line.unwrap());
    }

    file_vec
}

pub fn get_version() -> &'static str {
    "1.0.0"
}

pub fn get_name() -> &'static str 


pub fn get_author() -> &'static str {
    "red-oxide <https://github.com/red-oxide/file_compare>"
}

pub fn get_about() -> &'static str {
    "compare two files to see if lines in first file exist in the second file"
}

{
    "file_compare"
}