test(quotes): added corresponding tests

This commit is contained in:
MartinFillon 2023-12-17 23:05:59 +01:00
parent 0f419321ec
commit cb99bc945f
No known key found for this signature in database
GPG key ID: 16DC898F53F94853
364 changed files with 667 additions and 78 deletions

View file

@ -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

View file

@ -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)
}

View file

@ -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 {

View file

@ -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()

View file

@ -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 doesnt 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;;";

View file

@ -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())?;
}

View file

@ -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 columns 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,

View file

@ -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)
}
}

View file

View 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"

View file

@ -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

View file

@ -1,3 +1,4 @@
- complex-names
- git
- grid
- group

View file

@ -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

View file

@ -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

View file

@ -1,3 +1,4 @@
- complex-names
- git
- grid
- group

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -1,4 +1,5 @@
Size Name
- complex-names
- git
- grid
- group

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -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

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -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

View file

@ -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

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

View 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"

View file

@ -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

View file

@ -1,3 +1,4 @@
- complex-names
- git
- grid
- group

View file

@ -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

View file

@ -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

View file

@ -1,3 +1,4 @@
- complex-names
- git
- grid
- group

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -1,4 +1,5 @@
Size Name
- complex-names
- git
- grid
- group

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -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

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -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

View file

@ -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

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -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

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -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

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -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

View file

@ -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

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -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

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -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

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -1 +1 @@
git grid group icons perms size specials symlinks time
complex-names git grid group icons perms size specials symlinks time

View file

@ -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

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -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

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -1,4 +1,8 @@
tests/test_dir
├── complex-names
│ ├── 'a looooooooooooooooooong filename'
│ ├── 'another one long name'
│ └── double-quotes
├── git
│ ├── 001
│ ├── 002

View file

@ -1,3 +1,5 @@
git icons specials
grid perms symlinks
group size time
complex-names perms
git size
grid specials
group symlinks
icons time

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -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

View file

@ -1,8 +1,10 @@
git time
grid
group
icons
perms
size
specials
symlinks
complex-names
git
grid
group
icons
perms
size
specials
symlinks
time

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -1,3 +1,4 @@
complex-names
git
grid
group

View file

@ -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