feat(file): added the FileInfo struct
This commit is contained in:
parent
f4d15dd890
commit
5b134edac6
1 changed files with 5 additions and 0 deletions
|
|
@ -11,6 +11,11 @@ typedef struct {
|
|||
uint64_t lines;
|
||||
} File;
|
||||
|
||||
typedef struct {
|
||||
uint32_t mode;
|
||||
char* name;
|
||||
} FileInfo;
|
||||
|
||||
File* new_empty_file();
|
||||
File* new_file(const char*);
|
||||
File* slice_file(File*, uint64_t, uint64_t);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue