Skip to content

Commit

Permalink
cleanup(file-source): replace references to cernan project comments in
Browse files Browse the repository at this point in the history
code originating within that project with something more meaningful in
the current context

Signed-off-by: Denis Andrejew <[email protected]>
  • Loading branch information
seeekr committed Jul 22, 2019
1 parent 3e18090 commit efe6541
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/file-source/src/file_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use tracing::field;
/// event notification is used by `FileServer`.
///
/// `FileServer` is configured on a path to watch. The files do _not_ need to
/// exist at cernan startup. `FileServer` will discover new files which match
/// exist at startup. `FileServer` will discover new files which match
/// its path in at most 60 seconds.
pub struct FileServer {
pub include: Vec<PathBuf>,
Expand All @@ -40,7 +40,7 @@ pub struct FileServer {
/// versa but there's no one perfect approach. Very fast files _will_ be lost if
/// your system aggressively rolls log files. `FileServer` will keep a file
/// handler open but should your system move so quickly that a file disappears
/// before cernan is able to open it the contents will be lost. This should be a
/// before `FileServer` is able to open it the contents will be lost. This should be a
/// rare occurence.
///
/// Specific operating systems support evented interfaces that correct this
Expand Down
2 changes: 1 addition & 1 deletion lib/file-source/src/file_watcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl FileWatcher {
///
/// The input path will be used by `FileWatcher` to prime its state
/// machine. A `FileWatcher` tracks _only one_ file. This function returns
/// None if the path does not exist or is not readable by cernan.
/// None if the path does not exist or is not readable by the current process.
pub fn new(
path: PathBuf,
file_position: FilePosition,
Expand Down

0 comments on commit efe6541

Please sign in to comment.