1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

os: remove unused functions

This commit is contained in:
Alexander Medvednikov 2019-06-30 15:42:16 +02:00
parent 5bd188edad
commit 386367c3d5

View File

@ -37,9 +37,8 @@ import const (
SEEK_END
SA_SIGINFO
SIGSEGV
S_IFMT
S_IFDIR
S_IFMT
S_IFDIR
)
struct C.stat {
@ -168,16 +167,7 @@ fn open_file(file string) File {
// `create` creates a file at a specified location and returns a writable `File` object.
pub fn create(path string) File {
return create_file(path)
}
pub fn open_append(path string) File {
return create_file(path)
}
// TODO remove
fn create_file(file string) File {
return create_file2(file, 'w')
return create_file2(path, 'w')
}
fn create_file_a(file string) File {