public void ClonedObjectsEqualEachOther() { var test = new FileSystemObject("/test-bucket-name/archive/subdir/testfile_hi.zip/"); var test2 = test.Clone(); Assert.AreEqual(test, test2); Assert.AreEqual(test.ToString(), test2.ToString()); }
private void SaveToMap(byte[] bytes, FileSystemObject target) { var s = new MemoryFileMeta { Bytes = bytes, Fso = target.Clone() }; fileMap[target.FullName] = s; }