# Functions
Glob expands '**' patterns into multiple patterns to satisfy https://golang.org/pkg/path/filepath/#Match.
GlobPatterns detects the use of "**" and expands it to standard glob patterns up to a max depth.
IsSameFile checks if the given File path corresponds with the FileInfo given It is used to check if the file has been renamed.
NewState creates a new file state.
NewStateIdentifier creates a new state identifier for a log input.
NewStates generates a new states registry.
# Structs
mockIdentifier is used for testing.
State is used to communicate the reading state of a file.
States handles list of FileState.
# Interfaces
StateIdentifier generates an ID for a State.