Unify the representation of the three dots.
This commit is contained in:

committed by
Sebastian Serth

parent
0f7e98f78e
commit
70c108aebf
@ -32,7 +32,7 @@ type codeOceanToRawReader struct {
|
|||||||
executorCtx context.Context
|
executorCtx context.Context
|
||||||
|
|
||||||
// A buffered channel of bytes is used to store data coming from CodeOcean via WebSocket
|
// A buffered channel of bytes is used to store data coming from CodeOcean via WebSocket
|
||||||
// and retrieve it when Read(..) is called. Since channels are thread-safe, we use one here
|
// and retrieve it when Read(...) is called. Since channels are thread-safe, we use one here
|
||||||
// instead of bytes.Buffer.
|
// instead of bytes.Buffer.
|
||||||
buffer chan byte
|
buffer chan byte
|
||||||
// The priorityBuffer is a buffer for injecting data into stdin of the execution from Poseidon,
|
// The priorityBuffer is a buffer for injecting data into stdin of the execution from Poseidon,
|
||||||
|
@ -59,7 +59,7 @@ type writingLoopMessage struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// NewCodeOceanOutputWriter provides an codeOceanOutputWriter for the time the context ctx is active.
|
// NewCodeOceanOutputWriter provides an codeOceanOutputWriter for the time the context ctx is active.
|
||||||
// The codeOceanOutputWriter handles all the messages defined in the websocket.schema.json (start, timeout, stdout, ..).
|
// The codeOceanOutputWriter handles all the messages defined in the websocket.schema.json (start, timeout, stdout, ...).
|
||||||
func NewCodeOceanOutputWriter(
|
func NewCodeOceanOutputWriter(
|
||||||
connection Connection, ctx context.Context, done context.CancelFunc) WebSocketWriter {
|
connection Connection, ctx context.Context, done context.CancelFunc) WebSocketWriter {
|
||||||
cw := &codeOceanOutputWriter{
|
cw := &codeOceanOutputWriter{
|
||||||
|
@ -130,7 +130,7 @@ type UpdateFileSystemRequest struct {
|
|||||||
// FilePath specifies the path of a file and is part of the UpdateFileSystemRequest.
|
// FilePath specifies the path of a file and is part of the UpdateFileSystemRequest.
|
||||||
type FilePath string
|
type FilePath string
|
||||||
|
|
||||||
// EntryType specifies the type of the object (file/link/directory/..)
|
// EntryType specifies the type of the object (file/link/directory/...)
|
||||||
type EntryType string
|
type EntryType string
|
||||||
|
|
||||||
// These are the common entry types. You find others in the man pages `info ls`.
|
// These are the common entry types. You find others in the man pages `info ls`.
|
||||||
|
Reference in New Issue
Block a user