Show More
@@ -1,3 +1,12 | |||||
|
1 | // filepatterns.rs | |||
|
2 | // | |||
|
3 | // Copyright 2019 Raphaël Gomès <rgomes@octobus.net> | |||
|
4 | // | |||
|
5 | // This software may be used and distributed according to the terms of the | |||
|
6 | // GNU General Public License version 2 or any later version. | |||
|
7 | ||||
|
8 | //! Handling of Mercurial-specific patterns. | |||
|
9 | ||||
1 | use crate::{ |
|
10 | use crate::{ | |
2 | utils::{files::get_path_from_bytes, SliceExt}, |
|
11 | utils::{files::get_path_from_bytes, SliceExt}, | |
3 | LineNumber, PatternError, PatternFileError, |
|
12 | LineNumber, PatternError, PatternFileError, |
@@ -1,3 +1,12 | |||||
|
1 | // utils module | |||
|
2 | // | |||
|
3 | // Copyright 2019 Raphaël Gomès <rgomes@octobus.net> | |||
|
4 | // | |||
|
5 | // This software may be used and distributed according to the terms of the | |||
|
6 | // GNU General Public License version 2 or any later version. | |||
|
7 | ||||
|
8 | //! Contains useful functions, traits, structs, etc. for use in core. | |||
|
9 | ||||
1 | pub mod files; |
|
10 | pub mod files; | |
2 |
|
11 | |||
3 | use std::convert::AsMut; |
|
12 | use std::convert::AsMut; |
@@ -1,3 +1,14 | |||||
|
1 | // files.rs | |||
|
2 | // | |||
|
3 | // Copyright 2019 | |||
|
4 | // Raphaël Gomès <rgomes@octobus.net>, | |||
|
5 | // Yuya Nishihara <yuya@tcha.org> | |||
|
6 | // | |||
|
7 | // This software may be used and distributed according to the terms of the | |||
|
8 | // GNU General Public License version 2 or any later version. | |||
|
9 | ||||
|
10 | //! Functions for fiddling with files. | |||
|
11 | ||||
1 | use std::iter::FusedIterator; |
|
12 | use std::iter::FusedIterator; | |
2 | use std::path::Path; |
|
13 | use std::path::Path; | |
3 |
|
14 |
General Comments 0
You need to be logged in to leave comments.
Login now