Developer API
...
Directory Operations
Function: createDirectory()
5 min
docid\ wxgxpnpidcz6 2b6gh786 docid\ l2rwyc57gjg6s93mcecr9 / createdirectory createdirectory ( fsid , path , name , wallet ) promise < transaction > defined in https //github com/xandeum/xandeum web3 js/blob/master/src/createdirectory ts#l17 constructs a solana transaction to create a new directory within a file system parameters fsid string a numeric filesystem identifier used to scope the directory creation path string the parent path where the directory should be created (e g , /documents ) name string the name of the new directory (e g , reports ) wallet publickey the signer’s public key that authorizes the transaction returns promise < transaction > a promise that resolves to a solana transaction object containing the createdirectory instruction throws will throw an error if path or name contains invalid characters \@throws will throw if the combined path is invalid (non alphanumeric or unsupported characters)