Trim21
Trim21
also, just a question, is it possible to build trees at client instead of server like tags?
> so is it possible those torrents are using relative paths or something starting with the hex? > > Which root path should those non-root elements be under? no, they...
looks like I have mixed case directories and they cause this bug: - `/srv/dev-disk-by-uuid-58b9efe4-428e-40d1-8d3f-97d8a5bac12a/U2-small/e9b3a6c75170e0c14701e7095b94412cfd4c7c7d` - `/srv/dev-disk-by-uuid-58b9efe4-428e-40d1-8d3f-97d8a5bac12a/u2-small/00ac7be5eb069dd8af992fca3a40b3755aaad846`
```js console.log( [ '/srv/dev-disk-by-uuid-58b9efe4-428e-40d1-8d3f-97d8a5bac12a/u2-small/231d4f952201ba96628a9520740554c6ae6837db', '/srv/dev-disk-by-uuid-58b9efe4-428e-40d1-8d3f-97d8a5bac12a/U2-small/232e75cf79187a07a7507f82275f1e8d3f7ddf73', '/srv/dev-disk-by-uuid-58b9efe4-428e-40d1-8d3f-97d8a5bac12a/u2-small/2364ebde4155eaf3267af1011b4dbc9cc75d99e1', ].sort((a, b) => { return a.localeCompare(b); }), ); ``` => ```js [ '/srv/dev-disk-by-uuid-58b9efe4-428e-40d1-8d3f-97d8a5bac12a/u2-small/231d4f952201ba96628a9520740554c6ae6837db', '/srv/dev-disk-by-uuid-58b9efe4-428e-40d1-8d3f-97d8a5bac12a/U2-small/232e75cf79187a07a7507f82275f1e8d3f7ddf73', '/srv/dev-disk-by-uuid-58b9efe4-428e-40d1-8d3f-97d8a5bac12a/u2-small/2364ebde4155eaf3267af1011b4dbc9cc75d99e1' ] ```
lgtm, only one minor problem
> I have a reduced solution that can probably be moved client-side; but case-insensitivity causes problems when filtering torrents. I think the solution is for the tree to be client-side,...
handling case-insensitivity may introduce too much extra complexity,which will need to handle every component of path,I think current code works fine
please do not force push
> > please do not force push > > It's in my repo and rebasing creates better changeset history, why not? Force-push causes inconvenient in code reviewing
`--allowedpath` doesn't add mount path into disk usage, they are still filtered