Fix files naming #24
No reviewers
Labels
No Label
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/TODO
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Service
filed
Service
janitord
Status
Abandoned
Status
Blocked
Status
Controversial
Status
Need More Info
Status
Not planned
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blek/bfile#24
Loading…
Reference in New Issue
No description provided.
Delete Branch "fix-naming"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR does:
filed/src/files/lookup.rs
for readibilityThanks! I will review this in a few days.
@ -111,2 +111,3 @@
LookupKind::ByName => {
if (&file).name.is_none() {
if let Some(name) = file.name.clone() {
log::debug!("Using {} as a custom file name", name);
breaks dry? see line 130 as well. not quite sure if thats a bad thing
@blek any comments on this? i am unsure if we really should stick with dry on this one
@ -113,0 +116,4 @@
format!(
"{}{}{}",
self.env.redis.prefix,
midfix,
i'd say that if we're not sticking with dry then there is no need for that
midfix
variable. could've just hardcoded the-(name|hash)-
thing to make it more apparentyeah, i agree. that variable being assigned at the start of the code is pretty much just the useless clutter now
this is so stupid. can we just merge this now?
seems all good to me