Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
L
logstash-forwarder
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
LaaS
logstash-forwarder
Commits
9d2fd53d
Commit
9d2fd53d
authored
Aug 28, 2013
by
Jordan Sissel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #74 from vitalsource/master
move FileState into platform specific structures
parents
be33fe4d
f6a2c24d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
7 deletions
+16
-7
event.go
event.go
+0
-7
filestate_darwin.go
filestate_darwin.go
+8
-0
filestate_linux.go
filestate_linux.go
+8
-0
No files found.
event.go
View file @
9d2fd53d
...
...
@@ -11,10 +11,3 @@ type FileEvent struct {
fileinfo
*
os
.
FileInfo
}
type
FileState
struct
{
Source
*
string
`json:"source,omitempty"`
Offset
int64
`json:"offset,omitempty"`
Inode
uint64
`json:"inode,omitempty"`
Device
uint64
`json:"device,omitempty"`
}
filestate_darwin.go
0 → 100644
View file @
9d2fd53d
package
main
type
FileState
struct
{
Source
*
string
`json:"source,omitempty"`
Offset
int64
`json:"offset,omitempty"`
Inode
uint64
`json:"inode,omitempty"`
Device
int32
`json:"device,omitempty"`
}
filestate_linux.go
0 → 100644
View file @
9d2fd53d
package
main
type
FileState
struct
{
Source
*
string
`json:"source,omitempty"`
Offset
int64
`json:"offset,omitempty"`
Inode
uint64
`json:"inode,omitempty"`
Device
uint64
`json:"device,omitempty"`
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment