summaryrefslogtreecommitdiffstats
path: root/src/utils/fileutil.rs
diff options
context:
space:
mode:
authorNora <nora.widdecke@tu-bs.de>2019-01-12 16:46:22 +0100
committerNora <nora.widdecke@tu-bs.de>2019-01-12 16:46:22 +0100
commit53805ed7c8ae33cd86c42a57b665efa4bcffb635 (patch)
tree5407debbb7e081e0adc4235bb4dfee6c39d5dc92 /src/utils/fileutil.rs
parent97e4485443a9805d46858e4e85c509a5f26d5535 (diff)
fix rebase error
Diffstat (limited to 'src/utils/fileutil.rs')
-rw-r--r--src/utils/fileutil.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/fileutil.rs b/src/utils/fileutil.rs
index 9b304e1..6e6c06c 100644
--- a/src/utils/fileutil.rs
+++ b/src/utils/fileutil.rs
@@ -70,7 +70,7 @@ pub fn read_file_to_string(path: &Path) -> Result<String, String> {
}
}
-fn read_calendar_from_path(path: &Path) -> Result<IcalVCalendar, String> {
+pub fn read_calendar_from_path(path: &Path) -> Result<IcalVCalendar, String> {
trace!("Reading calendar from {}", path.to_string_lossy());
let content = match fs::read_to_string(path) {
Ok(content) => content,