Namespace

Foundry – 1

A GNOME library providing IDE capabilities

Version1.0.alpha
AuthorsChristian Hergert
LicenseLGPL-2.1-or-later
Websitehttps://gitlab.gnome.org/chergert/foundry/
Sourcehttps://gitlab.gnome.org/chergert/foundry/

Build

C headersfoundry.h
pkg-config filesfoundry-1

Dependencies

GLib—2.0 The base type system library
Browse documentation
GObject—2.0 The base type system library
Browse documentation

Additional documentation

Interfaces

Enumerations

CommandLineError

FOUNDRY_COMMAND_LINE_ERROR_RUN_LOCAL: indicate that the command should be run on the client side rather than in the parent process.

ContextError

DeviceChassis

DiagnosticSeverity

MarkupKind

ObjectSerializerFormat

ProcessLauncherShell

Describes the type of shell to be used within the context.

ServiceError

SettingsLayer

Error Domains

Functions

build_error_quark

file_find_in_ancestors

Locates name within any of the ancestors of file up to the root of the filesystem.

file_find_with_depth

Locates files starting from file matching pattern.

get_default_arch

init

Initializes libfoundry which is completed once the resulting DexFuture completes.

path_collapse

This function will collapse a path that starts with the users home directory into a shorthand notation using ~/ for the home directory.

path_expand

This function will expand various “shell-like” features of the provided path using the POSIX wordexp(3) function. Command substitution will not be enabled, but path features such as ~user will be expanded.

shell_get_default

Gets the user preferred shell on the host.

shell_get_default_path

Gets the default $PATH on the system for the user on the host.

shell_supports_dash_c

shell_supports_dash_login

Checks if the shell is known to support login semantics. Originally, this meant --login, but now is meant to mean -l as more shells support -l than --login (notably dash).

subprocess_communicate_utf8

Like g_subprocess_communicate_utf8() but only supports stdout and is returned as a future to a string.