mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-05 14:20:05 -05:00
Don't print disk dir in info
This commit is contained in:
parent
dd87022490
commit
b3cc9192cd
9 changed files with 48 additions and 28 deletions
|
|
@ -1210,5 +1210,23 @@ static inline snapraid_info info_get(tommy_arrayblkof* array, block_off_t pos)
|
|||
*/
|
||||
int time_compare(const void* void_a, const void* void_b);
|
||||
|
||||
/**
|
||||
* Format a file path for poll reference
|
||||
*/
|
||||
static inline const char* fmt_poll(const struct snapraid_disk* disk, const char* str, char* buffer)
|
||||
{
|
||||
(void)disk;
|
||||
return esc_shell(str, buffer);
|
||||
}
|
||||
|
||||
/**
|
||||
* Format a path name for terminal reference
|
||||
*/
|
||||
static inline const char* fmt_term(const struct snapraid_disk* disk, const char* str, char* buffer)
|
||||
{
|
||||
(void)disk;
|
||||
return esc_shell(str, buffer);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue