Documentation ¶
Index ¶
Constants ¶
View Source
const ( NEWLINE = "\n" SPACE = " " )
Variables ¶
This section is empty.
Functions ¶
func ParseCommand ¶
Types ¶
type Options ¶
type Options struct { SourceMode bool TargetMode bool TargetIsDirectory bool Verbose bool PreserveTimesAndMode bool Recursive bool Quiet bool Sources []string Target string }
func ParseFlags ¶
type TimeMessage ¶
type TimeMessage struct {
// contains filtered or unexported fields
}
func NewTimeMessage ¶
func NewTimeMessage(fileInfo os.FileInfo) *TimeMessage
func (*TimeMessage) AccessTime ¶
func (tm *TimeMessage) AccessTime() time.Time
func (*TimeMessage) ModificationTime ¶
func (tm *TimeMessage) ModificationTime() time.Time
func (*TimeMessage) Receive ¶
func (tm *TimeMessage) Receive(session *Session) error
func (*TimeMessage) Send ¶
func (tm *TimeMessage) Send(session *Session) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.