From 2e16e0ae489ccd96c1c20abb7a28d927f16e890f Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 17 Apr 2016 01:44:53 +0200 Subject: [PATCH] HACKING: add note about absolute paths --- hacking/HACKING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hacking/HACKING.md b/hacking/HACKING.md index d52aec0..9f21ed4 100644 --- a/hacking/HACKING.md +++ b/hacking/HACKING.md @@ -28,6 +28,8 @@ should be seen as a library. This is the entry point where and the File type in general [is constructed](./../src/HSFM/FileSystem/FileType.hs#L302). The File type uses a safe Path type under the hood instead of Strings, utilizing the [hpath](https://github.com/hasufell/hpath) library. +Note that mostly only absolute paths are allowed on type level to improve +path and thread safety. File operations (like copy, delete etc) are defined at [HSFM.FileSystem.FileOperation](./../src/HSFM/FileSystem/FileOperations.hs)