Commit Graph

9 Commits

Author SHA1 Message Date
Aneesh Nireshwalia aad1cafe97 fix linter warnings.
Correct method definition for unused param ctx
2023-06-07 16:13:47 -06:00
Aneesh Nireshwalia 2882872736 Fix SMB test setup for Mac 2023-02-08 15:10:51 -07:00
Aneesh Nireshwalia c9dba2cdd7 Use connection pointer directly in putConnection
Setting *pc back to nil is too easily defeated to be useful.
This is more concise and prevents pointer from getting heap-allocated.
2023-02-05 07:41:58 -07:00
Aneesh Nireshwalia aab8a5f36f Move copyright notice below imports 2023-01-31 17:48:36 -07:00
Aneesh Nireshwalia 59ecedacaf Fix review comments for temp file creation
Add rclone copyright notice for smb files.
Change temp file creation code to match sftp code.
Remove fastrand dependency.
2023-01-31 17:35:18 -07:00
Aneesh Nireshwalia 3f1673d6aa Fix lint issues 2023-01-30 21:03:27 -07:00
Aneesh Nireshwalia 5ff9f58fbb Add document and cleanup config
Add documentation for configuring smb repository.
Clean up configuration for smb. Renamed address to host.
Add option to configure user in smb repo url as well.
Options take highest precendence.
2023-01-30 19:45:37 -07:00
Aneesh Nireshwalia 46c3dc618a Add unrelease issue and cleanup configs
Removed extra environment variables
2023-01-30 16:46:52 -07:00
Aneesh N 375a9b7940
Add smb changes (#6)
* backend/smb: Add SMB backend and testcases

Add new SMB storage backend for restic.
Added test cases for testing SMB backend.

---------

Co-authored-by: Aneesh Nireshwalia <aneeshynot@gmail.com>
Co-authored-by: Srigovind Nayak <sgovind.dev@outlook.com>
2023-01-30 15:42:07 -07:00