Documentation ¶
Overview ¶
Package server implements the sansshell 'LocalFile' service.
Index ¶
Constants ¶
View Source
const ( // FS_IMMUTABLE_FL is the flag which masks immutable state. // While x/sys/unix exposes a lot this particular flag isn't // mapped. It's the one to match below for immutable state if // the ioctl route has to be taken. FS_IMMUTABLE_FL = int(0x00000010) // FS_FL_USER_MODIFIABLE is the flag mask of flags that are user modifiable. // The ioctl can return more when querying but setting should mask with this first. FS_FL_USER_MODIFIABLE = int(0x000380FF) )
Variables ¶
View Source
var ( // AbsolutePathError is a typed error for path errors on file/directory names. AbsolutePathError = status.Error(codes.InvalidArgument, "filename path must be absolute and clean") // ReadTimeout is how long tail should wait on a given poll call // before checking context.Err() and possibly looping. ReadTimeout = 10 * time.Second )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.