Kaynağa Gözat

Improve documentation

travis
Julian Ospald 4 yıl önce
ebeveyn
işleme
607e67378c
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 511B62C09D50CD28
2 değiştirilmiş dosya ile 11 ekleme ve 1 silme
  1. +1
    -1
      hpath/src/HPath.hs
  2. +10
    -0
      hpath/src/HPath/Internal.hs

+ 1
- 1
hpath/src/HPath.hs Dosyayı Görüntüle

@@ -31,7 +31,7 @@ module HPath
-- * PatternSynonyms/ViewPatterns
,pattern Path
#endif
-- * Path Parsing
-- * Path Construction
,parseAbs
,parseRel
,parseAny


+ 10
- 0
hpath/src/HPath/Internal.hs Dosyayı Görüntüle

@@ -10,15 +10,19 @@ import Control.DeepSeq (NFData (..))
import Data.ByteString (ByteString)
import Data.Data

-- | The main Path type.
--
-- The type variable 'b' is either:
--
-- * Abs -- absolute path
-- * Rel -- relative path
--
-- Internally is a ByteString. The path is guaranteed to
-- be normalised and contain no trailing Path separators,
-- except for the '/' root path.
--
-- There are no duplicate path separators
-- @\/\/@, no @..@, no @.\/@, no @~\/@, etc.
data Path b = MkPath ByteString
deriving (Typeable)



Yükleniyor…
İptal
Kaydet