-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
683 additions
and
559 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# CHANGE TYPE: MINOR | ||
|
||
## Summary of Changes | ||
|
||
-> Mostly refactor commits are ongoing | ||
|
||
-> Created a new header `inodeinfo.h` | ||
|
||
-> Respective debug and default CMakeLists.txt and meson.build files are updated accordingly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// // // // // // | ||
// // | ||
// LITE FM // | ||
// // | ||
// // // // // // | ||
|
||
/* | ||
* --------------------------------------------------------------------------- | ||
* File: inodeinfo.h | ||
* Description: Displaying of each inode's info onto the info_win, | ||
* all its functions, both popup and main window logic | ||
* | ||
* Author: Siddharth Karanam | ||
* Created: <29/08/24> | ||
* | ||
* Copyright: 2024 nots1dd. All rights reserved. | ||
* | ||
* License: <GNU GPL v3> | ||
* | ||
* Notes: inodeinfo also has the function `truncate_symlink_name`. | ||
* It made sense as the function is only required in two areas; | ||
* in string search, and for proper file info retreival | ||
* | ||
* Revision History: | ||
* <29/08/24> - Initial creation and function declarations added. | ||
* | ||
* --------------------------------------------------------------------------- | ||
*/ | ||
|
||
#ifndef INODE_INFO_H | ||
#define INODE_INFO_H | ||
|
||
#include <dirent.h> | ||
#include <grp.h> | ||
#include <ncurses.h> | ||
#include <stdio.h> | ||
|
||
#define MAX_ITEM_NAME_LENGTH 80 | ||
|
||
void get_file_info_popup(WINDOW* main_win, const char* path, const char* filename); | ||
void get_file_info(WINDOW* info_win, const char* path, const char* filename); | ||
void truncate_symlink_name(char* name); | ||
|
||
#endif |
Oops, something went wrong.