Commit 168fe4ad authored by Marc Vef's avatar Marc Vef
Browse files

Reformat code

parent d9e33370
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ bool init_dentry(const unsigned long& hash) {

    return bfs::exists(d_path);
}

/**
 * Check if the file name can be found in the directory entries of parent_dir_hash
 * @param parent_dir_hash
+2 −1
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ int adafs_flush(const char*, struct fuse_file_info*);


void* adafs_init(struct fuse_conn_info*, struct fuse_config*);

void adafs_destroy(void*);

#endif //FS_FUSE_OPS_H
+7 −8
Original line number Diff line number Diff line
@@ -87,7 +87,6 @@ static void init_adafs_ops(fuse_operations *ops) {
}



int main(int argc, char* argv[]) {
    //Initialize the mapping of Fuse functions
    init_adafs_ops(&adafs_ops);
+1 −0
Original line number Diff line number Diff line
@@ -109,6 +109,7 @@ int read_dentries(vector<string>& dir, const unsigned long hash) {
    }
    return 0;
}

/**
 * Creates an empty file in the dentry folder of the parent directory, acting as a dentry for lookup
 * @param parent_dir
+2 −2

File changed.

Contains only whitespace changes.