mirror of
https://github.com/eza-community/eza
synced 2024-09-29 20:54:59 +00:00
test(quotes): added corresponding tests
This commit is contained in:
parent
0f419321ec
commit
cb99bc945f
|
@ -133,10 +133,6 @@ touch icons/man.1 --date=@0
|
|||
touch icons/marked.md --date=@0
|
||||
# END test_icons
|
||||
|
||||
# BEGIN set date
|
||||
touch --date=@0 ./*;
|
||||
# END set date
|
||||
|
||||
# BEGIN complex names
|
||||
mkdir complex-names
|
||||
|
||||
|
@ -146,5 +142,8 @@ touch "complex-names/another one long name" --date=@0
|
|||
mkdir complex-names/double-quotes
|
||||
touch "complex-names/double-quotes/hello there" --date=@0
|
||||
touch "complex-names/double-quotes/'Obi wan kanobi'" --date=@0
|
||||
|
||||
# END complex names
|
||||
|
||||
# BEGIN set date
|
||||
touch --date=@0 ./*;
|
||||
# END set date
|
||||
|
|
14
src/main.rs
14
src/main.rs
|
@ -331,7 +331,7 @@ impl<'args> Exa<'args> {
|
|||
Style::default(),
|
||||
Style::default(),
|
||||
quote_style,
|
||||
&Quotes::Single,
|
||||
Quotes::Single,
|
||||
);
|
||||
writeln!(&mut self.writer, "{}:", ANSIStrings(&bits))?;
|
||||
}
|
||||
|
@ -395,7 +395,7 @@ impl<'args> Exa<'args> {
|
|||
if files.is_empty() {
|
||||
return Ok(());
|
||||
}
|
||||
let quotes = check_quote(&files);
|
||||
let quotes = check_quote(files.as_slice());
|
||||
|
||||
let theme = &self.theme;
|
||||
let View {
|
||||
|
@ -414,7 +414,7 @@ impl<'args> Exa<'args> {
|
|||
opts,
|
||||
console_width,
|
||||
filter,
|
||||
quotes: quotes.clone(),
|
||||
quotes,
|
||||
};
|
||||
r.render(&mut self.writer)
|
||||
}
|
||||
|
@ -426,7 +426,7 @@ impl<'args> Exa<'args> {
|
|||
theme,
|
||||
file_style,
|
||||
filter,
|
||||
quotes: quotes.clone(),
|
||||
quotes,
|
||||
};
|
||||
r.render(&mut self.writer)
|
||||
}
|
||||
|
@ -449,7 +449,7 @@ impl<'args> Exa<'args> {
|
|||
git_ignoring,
|
||||
git,
|
||||
git_repos,
|
||||
quotes: quotes.clone(),
|
||||
quotes,
|
||||
};
|
||||
r.render(&mut self.writer)
|
||||
}
|
||||
|
@ -477,7 +477,7 @@ impl<'args> Exa<'args> {
|
|||
git,
|
||||
console_width,
|
||||
git_repos,
|
||||
quotes: quotes.clone(),
|
||||
quotes,
|
||||
};
|
||||
r.render(&mut self.writer)
|
||||
}
|
||||
|
@ -501,7 +501,7 @@ impl<'args> Exa<'args> {
|
|||
git_ignoring,
|
||||
git,
|
||||
git_repos,
|
||||
quotes: quotes.clone(),
|
||||
quotes,
|
||||
};
|
||||
r.render(&mut self.writer)
|
||||
}
|
||||
|
|
|
@ -350,7 +350,7 @@ impl<'a> Render<'a> {
|
|||
.for_file(egg.file, self.theme)
|
||||
.with_link_paths()
|
||||
.with_mount_details(self.opts.mounts)
|
||||
.paint(&self.quotes)
|
||||
.paint(self.quotes)
|
||||
.promote();
|
||||
|
||||
let row = Row {
|
||||
|
|
|
@ -8,7 +8,7 @@ pub enum Quotes {
|
|||
Double,
|
||||
}
|
||||
|
||||
pub fn check_quote(files: &Vec<File<'_>>) -> Quotes {
|
||||
pub fn check_quote(files: &[File<'_>]) -> Quotes {
|
||||
for file in files {
|
||||
if file.name.contains('\'') {
|
||||
return Quotes::Double;
|
||||
|
@ -23,15 +23,11 @@ pub fn escape(
|
|||
good: Style,
|
||||
bad: Style,
|
||||
quote_style: QuoteStyle,
|
||||
quotes: &Quotes,
|
||||
quotes: Quotes,
|
||||
) {
|
||||
let bits_starting_length = bits.len();
|
||||
let needs_quotes = string.contains(' ') || string.contains('\'');
|
||||
let quote_bit = good.paint(if *quotes == Quotes::Double {
|
||||
"\""
|
||||
} else {
|
||||
"\'"
|
||||
});
|
||||
let quote_bit = good.paint(if quotes == Quotes::Double { "\"" } else { "\'" });
|
||||
|
||||
if string
|
||||
.chars()
|
||||
|
|
|
@ -184,7 +184,7 @@ impl<'a, 'dir, C: Colours> FileName<'a, 'dir, C> {
|
|||
/// This method returns some `TextCellContents`, rather than a `TextCell`,
|
||||
/// because for the last cell in a table, it doesn’t need to have its
|
||||
/// width calculated.
|
||||
pub fn paint(&self, quotes: &Quotes) -> TextCellContents {
|
||||
pub fn paint(&self, quotes: Quotes) -> TextCellContents {
|
||||
let mut bits = Vec::new();
|
||||
|
||||
let spaces_count_opt = match self.options.show_icons {
|
||||
|
@ -307,7 +307,7 @@ impl<'a, 'dir, C: Colours> FileName<'a, 'dir, C> {
|
|||
|
||||
/// Adds the bits of the parent path to the given bits vector.
|
||||
/// The path gets its characters escaped based on the colours.
|
||||
fn add_parent_bits(&self, bits: &mut Vec<ANSIString<'_>>, parent: &Path, quotes: &Quotes) {
|
||||
fn add_parent_bits(&self, bits: &mut Vec<ANSIString<'_>>, parent: &Path, quotes: Quotes) {
|
||||
let coconut = parent.components().count();
|
||||
|
||||
if coconut == 1 && parent.has_root() {
|
||||
|
@ -375,7 +375,7 @@ impl<'a, 'dir, C: Colours> FileName<'a, 'dir, C> {
|
|||
///
|
||||
/// So in that situation, those characters will be escaped and highlighted in
|
||||
/// a different colour.
|
||||
fn escaped_file_name<'unused>(&self, quotes: &Quotes) -> Vec<ANSIString<'unused>> {
|
||||
fn escaped_file_name<'unused>(&self, quotes: Quotes) -> Vec<ANSIString<'unused>> {
|
||||
use percent_encoding::{utf8_percent_encode, CONTROLS};
|
||||
|
||||
const HYPERLINK_START: &str = "\x1B]8;;";
|
||||
|
|
|
@ -64,7 +64,7 @@ impl<'a> Render<'a> {
|
|||
QuoteStyle::NoQuotes => 0,
|
||||
QuoteStyle::QuoteSpaces => 0, // Default case
|
||||
};
|
||||
let contents = filename.paint(&self.quotes);
|
||||
let contents = filename.paint(self.quotes);
|
||||
let width = match (
|
||||
filename.options.embed_hyperlinks,
|
||||
filename.options.show_icons,
|
||||
|
@ -113,7 +113,7 @@ impl<'a> Render<'a> {
|
|||
let name_cell = self
|
||||
.file_style
|
||||
.for_file(file, self.theme)
|
||||
.paint(&self.quotes);
|
||||
.paint(self.quotes);
|
||||
writeln!(w, "{}", name_cell.strings())?;
|
||||
}
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@ impl<'a> Render<'a> {
|
|||
/// This includes an empty files vector because the files get added to
|
||||
/// the table in *this* file, not in details: we only want to insert every
|
||||
/// *n* files into each column’s table, not all of them.
|
||||
fn details_for_column(&self, quotes: &Quotes) -> DetailsRender<'a> {
|
||||
fn details_for_column(&self, quotes: Quotes) -> DetailsRender<'a> {
|
||||
#[rustfmt::skip]
|
||||
return DetailsRender {
|
||||
dir: self.dir,
|
||||
|
@ -115,7 +115,7 @@ impl<'a> Render<'a> {
|
|||
git_ignoring: self.git_ignoring,
|
||||
git: self.git,
|
||||
git_repos: self.git_repos,
|
||||
quotes: quotes.clone()
|
||||
quotes
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -158,7 +158,7 @@ impl<'a> Render<'a> {
|
|||
.as_ref()
|
||||
.expect("Details table options not given!");
|
||||
|
||||
let drender = self.details_for_column(&self.quotes);
|
||||
let drender = self.details_for_column(self.quotes);
|
||||
|
||||
let color_scale_info = ColorScaleInformation::from_color_scale(
|
||||
self.details.color_scale,
|
||||
|
@ -184,7 +184,7 @@ impl<'a> Render<'a> {
|
|||
.iter()
|
||||
.map(|file| {
|
||||
let filename = self.file_style.for_file(file, self.theme);
|
||||
let contents = filename.paint(&self.quotes);
|
||||
let contents = filename.paint(self.quotes);
|
||||
let space_filename_offset = match self.file_style.quote_style {
|
||||
QuoteStyle::QuoteSpaces if file.name.contains(' ') => 2,
|
||||
QuoteStyle::NoQuotes => 0,
|
||||
|
|
|
@ -34,6 +34,6 @@ impl<'a> Render<'a> {
|
|||
.for_file(file, self.theme)
|
||||
.with_link_paths()
|
||||
.with_mount_details(false)
|
||||
.paint(&self.quotes)
|
||||
.paint(self.quotes)
|
||||
}
|
||||
}
|
||||
|
|
0
tests/cmd/basic_complex_names_nix.stderr
Normal file
0
tests/cmd/basic_complex_names_nix.stderr
Normal file
8
tests/cmd/basic_complex_names_nix.stdout
Normal file
8
tests/cmd/basic_complex_names_nix.stdout
Normal file
|
@ -0,0 +1,8 @@
|
|||
tests/test_dir/complex-names:
|
||||
'a looooooooooooooooooong filename'
|
||||
'another one long name'
|
||||
double-quotes
|
||||
|
||||
tests/test_dir/complex-names/double-quotes:
|
||||
"'Obi wan kanobi'"
|
||||
"hello there"
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- complex-names
|
||||
- git
|
||||
- grid
|
||||
- group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- complex-names
|
||||
- git
|
||||
- grid
|
||||
- group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
Permissions Size User Date Modified Name
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
Size Name
|
||||
- complex-names
|
||||
- git
|
||||
- grid
|
||||
- group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
3 complex-names
|
||||
12 git
|
||||
1002 grid
|
||||
2 group
|
||||
|
@ -8,6 +9,15 @@
|
|||
3 symlinks
|
||||
2 time
|
||||
|
||||
tests/test_dir/complex-names:
|
||||
1 'a looooooooooooooooooong filename'
|
||||
1 'another one long name'
|
||||
2 double-quotes
|
||||
|
||||
tests/test_dir/complex-names/double-quotes:
|
||||
1 "'Obi wan kanobi'"
|
||||
1 "hello there"
|
||||
|
||||
tests/test_dir/git:
|
||||
3 001
|
||||
3 002
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
0755 drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
0755 drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
0755 drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
0755 drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 54 years complex-names
|
||||
drwxr-xr-x - nixbld 54 years git
|
||||
drwxr-xr-x - nixbld 54 years grid
|
||||
drwxr-xr-x - nixbld 54 years group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
@ -8,6 +9,11 @@ specials
|
|||
symlinks
|
||||
time
|
||||
|
||||
tests/test_dir/complex-names:
|
||||
double-quotes
|
||||
|
||||
tests/test_dir/complex-names/double-quotes:
|
||||
|
||||
tests/test_dir/git:
|
||||
001
|
||||
002
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
@ -8,6 +9,11 @@ specials
|
|||
symlinks
|
||||
time
|
||||
|
||||
tests/test_dir/complex-names:
|
||||
double-quotes
|
||||
|
||||
tests/test_dir/complex-names/double-quotes:
|
||||
|
||||
tests/test_dir/git:
|
||||
001
|
||||
002
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
@ -8,6 +9,15 @@ specials
|
|||
symlinks
|
||||
time
|
||||
|
||||
tests/test_dir/complex-names:
|
||||
'a looooooooooooooooooong filename'
|
||||
'another one long name'
|
||||
double-quotes
|
||||
|
||||
tests/test_dir/complex-names/double-quotes:
|
||||
"'Obi wan kanobi'"
|
||||
"hello there"
|
||||
|
||||
tests/test_dir/git:
|
||||
001
|
||||
002
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
@ -8,6 +9,15 @@ specials
|
|||
symlinks
|
||||
time
|
||||
|
||||
tests/test_dir/complex-names:
|
||||
'a looooooooooooooooooong filename'
|
||||
'another one long name'
|
||||
double-quotes
|
||||
|
||||
tests/test_dir/complex-names/double-quotes:
|
||||
"'Obi wan kanobi'"
|
||||
"hello there"
|
||||
|
||||
tests/test_dir/git:
|
||||
001
|
||||
002
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
tests/test_dir
|
||||
├── complex-names
|
||||
│ ├── 'a looooooooooooooooooong filename'
|
||||
│ ├── 'another one long name'
|
||||
│ └── double-quotes
|
||||
│ ├── ''Obi wan kanobi''
|
||||
│ └── 'hello there'
|
||||
├── git
|
||||
│ ├── 001
|
||||
│ │ ├── file_000
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
tests/test_dir
|
||||
├── complex-names
|
||||
│ ├── 'a looooooooooooooooooong filename'
|
||||
│ ├── 'another one long name'
|
||||
│ └── double-quotes
|
||||
│ ├── ''Obi wan kanobi''
|
||||
│ └── 'hello there'
|
||||
├── git
|
||||
│ ├── 001
|
||||
│ │ ├── file_000
|
||||
|
|
0
tests/gen/basic_complex_names_nix.stderr
Normal file
0
tests/gen/basic_complex_names_nix.stderr
Normal file
8
tests/gen/basic_complex_names_nix.stdout
Normal file
8
tests/gen/basic_complex_names_nix.stdout
Normal file
|
@ -0,0 +1,8 @@
|
|||
tests/test_dir/complex-names:
|
||||
'a looooooooooooooooooong filename'
|
||||
'another one long name'
|
||||
double-quotes
|
||||
|
||||
tests/test_dir/complex-names/double-quotes:
|
||||
"'Obi wan kanobi'"
|
||||
"hello there"
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- complex-names
|
||||
- git
|
||||
- grid
|
||||
- group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
- complex-names
|
||||
- git
|
||||
- grid
|
||||
- group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
Permissions Size User Date Modified Name
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
Size Name
|
||||
- complex-names
|
||||
- git
|
||||
- grid
|
||||
- group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
3 complex-names
|
||||
12 git
|
||||
1002 grid
|
||||
2 group
|
||||
|
@ -8,6 +9,15 @@
|
|||
3 symlinks
|
||||
2 time
|
||||
|
||||
tests/test_dir/complex-names:
|
||||
1 'a looooooooooooooooooong filename'
|
||||
1 'another one long name'
|
||||
2 double-quotes
|
||||
|
||||
tests/test_dir/complex-names/double-quotes:
|
||||
1 "'Obi wan kanobi'"
|
||||
1 "hello there"
|
||||
|
||||
tests/test_dir/git:
|
||||
3 001
|
||||
3 002
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
0755 drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
0755 drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
0755 drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
0755 drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 54 years complex-names
|
||||
drwxr-xr-x - nixbld 54 years git
|
||||
drwxr-xr-x - nixbld 54 years grid
|
||||
drwxr-xr-x - nixbld 54 years group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
@ -8,6 +9,11 @@ specials
|
|||
symlinks
|
||||
time
|
||||
|
||||
tests/test_dir/complex-names:
|
||||
double-quotes
|
||||
|
||||
tests/test_dir/complex-names/double-quotes:
|
||||
|
||||
tests/test_dir/git:
|
||||
001
|
||||
002
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
@ -8,6 +9,11 @@ specials
|
|||
symlinks
|
||||
time
|
||||
|
||||
tests/test_dir/complex-names:
|
||||
double-quotes
|
||||
|
||||
tests/test_dir/complex-names/double-quotes:
|
||||
|
||||
tests/test_dir/git:
|
||||
001
|
||||
002
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -7,3 +7,4 @@ drwxr-xr-x - nixbld 1 Jan 1970 group
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 size
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 time
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 icons
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -7,3 +7,4 @@ drwxr-xr-x - nixbld 1 Jan 1970 group
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 size
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 time
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 icons
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -7,3 +7,4 @@ drwxr-xr-x - nixbld 1 Jan 1970 group
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 size
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 time
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 icons
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -7,3 +7,4 @@ drwxr-xr-x - nixbld 1 Jan 1970 group
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 size
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 time
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 icons
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1 +1 @@
|
|||
git grid group icons perms size specials symlinks time
|
||||
complex-names git grid group icons perms size specials symlinks time
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 specials
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 perms
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 size
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 time
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 symlinks
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
tests/test_dir
|
||||
├── complex-names
|
||||
│ ├── 'a looooooooooooooooooong filename'
|
||||
│ ├── 'another one long name'
|
||||
│ └── double-quotes
|
||||
│ ├── ''Obi wan kanobi''
|
||||
│ └── 'hello there'
|
||||
├── git
|
||||
│ ├── 001
|
||||
│ │ ├── file_000
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
tests/test_dir
|
||||
├── complex-names
|
||||
│ ├── 'a looooooooooooooooooong filename'
|
||||
│ ├── 'another one long name'
|
||||
│ └── double-quotes
|
||||
├── git
|
||||
│ ├── 001
|
||||
│ ├── 002
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
git icons specials
|
||||
grid perms symlinks
|
||||
group size time
|
||||
complex-names perms
|
||||
git size
|
||||
grid specials
|
||||
group symlinks
|
||||
icons time
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
git time
|
||||
grid
|
||||
group
|
||||
icons
|
||||
perms
|
||||
size
|
||||
specials
|
||||
symlinks
|
||||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
icons
|
||||
perms
|
||||
size
|
||||
specials
|
||||
symlinks
|
||||
time
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 git
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 grid
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
tests/test_dir
|
||||
├── complex-names
|
||||
│ ├── 'a looooooooooooooooooong filename'
|
||||
│ ├── 'another one long name'
|
||||
│ └── double-quotes
|
||||
│ ├── ''Obi wan kanobi''
|
||||
│ └── 'hello there'
|
||||
├── git
|
||||
│ ├── 001
|
||||
│ │ ├── file_000
|
||||
|
|
|
@ -7,3 +7,4 @@ drwxr-xr-x - nixbld 1 Jan 1970 group
|
|||
drwxr-xr-x - nixbld 1 Jan 1970 size
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 time
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 icons
|
||||
drwxr-xr-x - nixbld 1 Jan 1970 complex-names
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
tests/test_dir
|
||||
├── complex-names
|
||||
│ ├── 'a looooooooooooooooooong filename'
|
||||
│ ├── 'another one long name'
|
||||
│ └── double-quotes
|
||||
│ ├── ''Obi wan kanobi''
|
||||
│ └── 'hello there'
|
||||
├── git
|
||||
│ ├── 001
|
||||
│ │ ├── file_000
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
complex-names
|
||||
git
|
||||
grid
|
||||
group
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue