mirror of
https://github.com/usatiuk/dhfs.git
synced 2025-10-29 04:57:48 +01:00
Compare commits
4 Commits
88d1e2136f
...
03d837a229
| Author | SHA1 | Date | |
|---|---|---|---|
| 03d837a229 | |||
| bb40b0e75b | |||
| 1f88038c55 | |||
| 79651346a4 |
19
README.md
Normal file
19
README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Distributed Home File System 🚧
|
||||
|
||||
## What is this?
|
||||
|
||||
Inspired by Syncthing and Google Drive File Stream, this project
|
||||
aspires to combine the best of them into one complete solution for
|
||||
all the file synchronization needs: being decentralized like
|
||||
Syncthing and allowing you to stream your files like Google Drive File Stream
|
||||
|
||||
## Run wrapper
|
||||
|
||||
[Download latest build](https://nightly.link/usatiuk/dhfs/workflows/server/main/Run%20wrapper.zip)
|
||||
|
||||
This is a simple wrapper around the jar/web ui distribution that allows you to run/stop
|
||||
the DHFS server in the background, and update itself (hopefully!)
|
||||
|
||||
## How to use it and how it works?
|
||||
|
||||
TODO 😁
|
||||
@@ -176,17 +176,14 @@ public class ObjectMetadata implements Serializable {
|
||||
}
|
||||
|
||||
public ObjectHeader toRpcHeader() {
|
||||
var headerBuilder = ObjectHeader.newBuilder().setName(getName());
|
||||
headerBuilder.setChangelog(toRpcChangelog());
|
||||
|
||||
return headerBuilder.build();
|
||||
return toRpcHeader(null);
|
||||
}
|
||||
|
||||
public ObjectHeader toRpcHeader(JObjectDataP data) {
|
||||
var headerBuilder = ObjectHeader.newBuilder().setName(getName());
|
||||
headerBuilder.setChangelog(toRpcChangelog());
|
||||
|
||||
if (data != null && data.getClass().isAnnotationPresent(PushResolution.class))
|
||||
if (data != null)
|
||||
headerBuilder.setPushedData(data);
|
||||
|
||||
return headerBuilder.build();
|
||||
|
||||
@@ -115,7 +115,7 @@ public class RemoteObjectServiceClient {
|
||||
if (m.getKnownClass().isAnnotationPresent(PushResolution.class))
|
||||
return m.toRpcHeader(protoSerializerService.serializeToJObjectDataP(d));
|
||||
else
|
||||
return m.toRpcHeader(null);
|
||||
return m.toRpcHeader();
|
||||
});
|
||||
obj.markSeen();
|
||||
builder.setHeader(header);
|
||||
|
||||
Reference in New Issue
Block a user