diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 4afda74..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "3rdparty/hpath"] - path = 3rdparty/hpath - url = https://github.com/hasufell/hpath.git diff --git a/3rdparty/hpath b/3rdparty/hpath deleted file mode 160000 index b9b4658..0000000 --- a/3rdparty/hpath +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b9b46583fac6aa34b80524a907c13b8f42dcdfcb diff --git a/README.md b/README.md index e33b7ef..9b90f1a 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,7 @@ Installation ------------ ``` -git submodule update --init --recursive cabal sandbox init -cabal sandbox add-source 3rdparty/hpath cabal install alex happy export PATH="$(pwd)/.cabal-sandbox/bin:$PATH" cabal install gtk2hs-buildtools diff --git a/hacking/HACKING.md b/hacking/HACKING.md index 1dd35e6..4b5f9d7 100644 --- a/hacking/HACKING.md +++ b/hacking/HACKING.md @@ -19,20 +19,6 @@ documentation. ## Hacking Overview -The main data structure for the IO related File type is in -[HSFM.FileSystem.FileType](./../src/HSFM/FileSystem/FileType.hs#L93), which -should be seen as a library. This is the entry point where -[directory contents are read](./../src/HSFM/FileSystem/FileType.hs#L465) -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) -which use this File type. - Only a GTK GUI is currently implemented, the entry point being [HSFM.GUI.Gtk](./../src/HSFM/GUI/Gtk.hs). From there it flows down to creating a [MyGUI object](./../src/HSFM/GUI/Gtk/Data.hs#L51) in diff --git a/hsfm.cabal b/hsfm.cabal index 9646283..7c783d7 100644 --- a/hsfm.cabal +++ b/hsfm.cabal @@ -35,7 +35,7 @@ library data-default, filepath >= 1.3.0.0, hinotify-bytestring, - hpath, + hpath >= 0.5.9, safe, stm, time >= 1.4.2, @@ -76,7 +76,7 @@ executable hsfm-gtk glib >= 0.13, gtk3 >= 0.14.1, hinotify-bytestring, - hpath, + hpath >= 0.5.9, hsfm, old-locale >= 1, process,