Developer API
...
Directory Operations
Function: removeDirectory()
4 min
docid\ wxgxpnpidcz6 2b6gh786 docid\ l2rwyc57gjg6s93mcecr9 / removedirectory removedirectory ( fsid , path , wallet ) promise < transaction > defined in https //github com/xandeum/xandeum web3 js/blob/master/src/removedirectory ts#l17 constructs a solana transaction to perform a "remove directory" operation in a file system, identified by a file system id ( fsid ) parameters fsid string a stringified integer representing the file system id containing the directory path string the full path to the directory that should be removed wallet publickey the public key of the wallet that will sign and authorize the transaction returns promise < transaction > a promise that resolves to a solana transaction object containing the remove directory instruction throws may throw an error if the path fails validation in sanitizepath