Virtual Method
FoundryAcpClientread_text_file
unstable since: 1.2
Declaration [src]
DexFuture*
read_text_file (
FoundryAcpClient* self,
FoundryAcpSession* session,
const char* path,
guint line,
guint limit
)
Description [src]
Handles an ACP fs/read_text_file request.
The returned future must resolve to a UTF-8 string.
Available since: 1.2
Parameters
session-
Type:
FoundryAcpSessionThe data is owned by the caller of the method. path-
Type:
const char*An absolute path.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. line-
Type:
guint1-based start line, or zero for the beginning.
limit-
Type:
guintMaximum line count, or zero for no explicit limit.