Last Updated on 14 June 2020 by Suffocation
For some ESP projects that work with SD cards, there is an adaptation of the standard Arduino SD library. The classes are usually called MySD and allow other pins to be specified for the SPI interface.
Unfortunately, I've only found copies of these modifications online, so I've quickly forked the standard library and incorporated the changes from the copies.
Library
https://github.com/sfambach/MySD
Sources
https://github.com/arduino-libraries/SD
https://github.com/cmmakerclub/ttgo-ts-v1.2-board/blob/master/include/mySD.h