feat(file): added empty file creation and slicing a file
This commit is contained in:
parent
4e4e7be60e
commit
e8338d011d
2 changed files with 24 additions and 0 deletions
|
|
@ -11,6 +11,8 @@ typedef struct {
|
|||
uint64_t lines;
|
||||
} File;
|
||||
|
||||
File* new_empty_file();
|
||||
File* new_file(const char*);
|
||||
File* slice_file(File*, uint64_t, uint64_t);
|
||||
|
||||
#endif // FILE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue