Constructor

FoundryAcpChangedFilenew

unstable since: 1.2

Declaration [src]

FoundryAcpChangedFile*
foundry_acp_changed_file_new (
  const char* path,
  FoundryAcpChangedFileKind kind,
  const char* last_event_id,
  FoundryAcpChangedFileFlags flags
)

Description [src]

Creates a new changed-file entry for ACP monitoring.

Available since: 1.2

Parameters

path

Type: const char*

A project-relative or absolute file path.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
kind

Type: FoundryAcpChangedFileKind

The kind of change.

last_event_id

Type: const char*

The last event known to reference path.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
flags

Type: FoundryAcpChangedFileFlags

Additional VCS status flags.

Return value

The caller of the function takes ownership of the data, and is responsible for freeing it.