Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. subprocessLauncherSetStdinFilePath :: (HasCallStack, MonadIO m, IsSubprocessLauncher a) => a -> Maybe [Char] -> m ()

    gi-gio GI.Gio.Objects.SubprocessLauncher

    Sets the file path to use as the stdin for spawned processes. If path is Nothing then any previously given path is unset. The file must exist or spawning the process will fail. You may not set a stdin file path if a stdin fd is already set or if the launcher flags contain any flags directing stdin elsewhere. This feature is only available on UNIX. Since: 2.40

  2. subprocessLauncherSetStdoutFilePath :: (HasCallStack, MonadIO m, IsSubprocessLauncher a) => a -> Maybe [Char] -> m ()

    gi-gio GI.Gio.Objects.SubprocessLauncher

    Sets the file path to use as the stdout for spawned processes. If path is Nothing then any previously given path is unset. The file will be created or truncated when the process is spawned, as would be the case if using '>' at the shell. You may not set a stdout file path if a stdout fd is already set or if the launcher flags contain any flags directing stdout elsewhere. This feature is only available on UNIX. Since: 2.40

  3. splitFilePath :: ShortText -> [ShortText]

    ghc-boot GHC.Data.ShortText

    O(n) Split a ShortText representing a file path into its components by separating on the file separator characters for this platform.

  4. getRawFilePathSetting :: FilePath -> FilePath -> RawSettings -> String -> Either String String

    ghc-boot GHC.Settings.Utils

    No documentation available.

  5. decodeFilePath :: FilePath -> IO Text

    snap-core Snap.Internal.Util.FileServe

    No documentation available.

  6. formatFromFilePaths :: [FilePath] -> Maybe FlavoredFormat

    pandoc Text.Pandoc.Format

    Determines default format based on file extensions; uses the format of the first extension that's associated with a format. Examples:

    formatFromFilePaths ["text.unknown", "no-extension"]
    
    Nothing
    formatFromFilePaths ["my.md", "other.rst"]
    
    Just "markdown"

  7. collapseFilePath :: FilePath -> FilePath

    pandoc Text.Pandoc.Shared

    Remove intermediate "." and ".." directories from a path.

    collapseFilePath "./foo" == "foo"
    collapseFilePath "/bar/../baz" == "/baz"
    collapseFilePath "/../baz" == "/../baz"
    collapseFilePath "parent/foo/baz/../bar" ==  "parent/foo/bar"
    collapseFilePath "parent/foo/baz/../../bar" ==  "parent/bar"
    collapseFilePath "parent/foo/.." ==  "parent"
    collapseFilePath "/parent/foo/../../bar" ==  "/bar"
    

  8. package system-filepath

    High-level, byte-based file and directory path manipulations (deprecated) High-level, byte-based file and directory path manipulations (deprecated).

  9. type CFilePath = CString

    ghc-internal GHC.Internal.System.Posix.Internals

    No documentation available.

  10. newFilePath :: FilePath -> IO CString

    ghc-internal GHC.Internal.System.Posix.Internals

    No documentation available.

Page 18 of many | Previous | Next