Get desktop application:
View/edit binary Protocol Buffers messages
Returns the entries of a directory in a streaming way. The idea is that this helps time-to-first-paint especially when the folder is large. The client can start rendering the entries as they come in. Notes: - All paths are relative to the workspace root. The idea is that clients do not need to know the absolute position of a workspace and with workspace-relative paths we can reduce the amount of PII sent. - This API DOES NOT recursively list workspace entries. The idea is that the client renders a tree-view with all sub-folder collapsed by default and issue a new list_entries call for a sub-folder when a tree node is expanded. - File type is a set of bitflags that represent the various properties of the entry. See the `Entry` message for more details.
The path of the entry relative to the workspace root
The size of the entry in bytes
A set of bitflags representing the type of the entry. The following entries are defined: 1 - Directory 2 - File 4 - Symbolic Link 8 - Asset 16 - Resource
Returns the bytes of a file in a streaming way. The idea is that this helps time-to-first-paint especially when the file is large. This is done, again, to optimize the time to first paint for assets that are streaming compatible such as images.
A chunk of bytes that make up a file
Used as request type in: Sources.GetEntryBytes, Sources.ListEntries
The path of the directory to list This is relative to the workspace root