• Tudor Bosman's avatar
    Minor huge pages library changes · 6ea306c4
    Tudor Bosman authored
    Summary:
    Moved to separate library instead of :io
    Got rid of the mode argument when creating files -- umask is your friend
    Separated getSize interface from create
    Added FsUtil.h for some fs::path operations
    Switched some interfaces to fs::path instead of string / StringPiece
    Canonicalize paths so we don't care whether paths are absolute or
    relative
    
    Test Plan: fs_util_test, by hand
    
    Reviewed By: philipp@fb.com
    
    FB internal diff: D564465
    6ea306c4
FsUtil.cpp 1.71 KB