stop using nativefs for file location

akkartik
Mar 23, 2024, 4:09 PM
MSCM7N5VAOSOGV6WXTDOAWTFCFHMN6FWOJKJDJ54NCKF4DXBMI7AC

Dependencies

  • [2] BWZW73XT unstash a stashed file
  • [3] 2IJLEJGT indicate local modifications in editor title bar

Change contents

  • replacement in 0195-can_be_unstashed at line 5
    [2.192][2.192:256]()
    return not nativefs.getInfo(App.save_dir..Directory..filename)
    [2.192]
    [2.256]
    return not has_local_modifications(filename)
  • replacement in 0177-has_local_modifications at line 2
    [3.47][3.47:107]()
    return nativefs.getInfo(App.save_dir..Directory..filename)
    [3.47]
    [3.107]
    return love.filesystem.getRealDirectory(Directory..filename) == love.filesystem.getSaveDirectory()