You can use system calls with c if you want to gather meta-data from files. So I think there is way to achieve this in c. Στις 13 Μαρ 2018 10:43 π.μ., ο χρήστης "Κωνσταντίνος Νασιώτης" < knasiotis [ at ] gmail [ dot ] com> έγραψε: > Thank you for replying! > You raised me a couple of other questions > > 1) Is there a chance for implementation in C++? > I know python is a good idea for sure, but I found that C standalone > doesn't have the functions to gather the file metadata required for this > project from directories (Please correct me if I'm wrong). > Plus, I'm inexperienced with python, while C++17 gives more options or > even Boost. > > 2) Should I expect to implement all the hash calculations? > > That's all for now, > thank you again for taking the time, > Nasiotis Konstantinos > > Στις Δευ, 12 Μαρ 2018, 22:57 ο χρήστης Alexios Zavras <zvr+eellak [ at ] zvr [ dot ] gr> > έγραψε: > >> Κωνσταντίνος Νασιώτης wrote [edited]: >> > I'm interested in the FilesDB project and I have some questions about >> it. >> >> thank you for your interest and the concrete questions! >> >> >> > 1) Is it expected to run on a Unix-like environment? >> >> Unix-like environments are definitely the primary target, >> but there is nothing stopping it being run in other environments, as well. >> >> >> > 2) What should be expected from the st|stats command? >> >> nice question... without a definite answer for the time being. >> I could imagine the statistics being produced to be >> something like: total number of entries, total size, >> largest entry, median size, max depth in directories, ... >> >> we're always open to ideas! >> >> >> > 3) The input will only consist of directories? Will there be an option >> for >> > a single file input? >> >> I've never thought of that use case, entering a single entry -- >> but why not? I can't think of anything prohibiting this use. >> >> >> > 4) When giving a query as input, is the database always to be specified? >> > Would there be a need to seek a file in all databases? >> >> if by "seek" you mean "search", no, this is not an envisioned use case. >> each database is standalone and each command (either adding or searching) >> operates on a single database. >> >> >> -- >> -- zvr -- >> -- +---------------------------+ Alexios Zavras (-zvr-) >> | H eytyxia den exei enoxes | zvr [ at ] zvr [ dot ] gr >> +-----------------------zvr-+ >> > > > ---- > Λαμβάνετε αυτό το μήνυμα απο την λίστα: Γενική λίστα αλληλογραφίας που > απευθύνεται σε developers/contributors έργων ανοικτού λογισμικού - A > general discussion list for developers/contributors of open-source projects, > https://lists.ellak.gr/opensource-devs/listinfo.html > > Μπορείτε να απεγγραφείτε από τη λίστα στέλνοντας κενό μήνυμα ηλ. > ταχυδρομείου στη διεύθυνση <opensource-devs+unsubscribe [ at ] ellak [ dot ] gr>. > >
---- Λαμβάνετε αυτό το μήνυμα απο την λίστα: Γενική λίστα αλληλογραφίας που απευθύνεται σε developers/contributors έργων ανοικτού λογισμικού - A general discussion list for developers/contributors of open-source projects, https://lists.ellak.gr/opensource-devs/listinfo.html Μπορείτε να απεγγραφείτε από τη λίστα στέλνοντας κενό μήνυμα ηλ. ταχυδρομείου στη διεύθυνση <opensource-devs+unsubscribe [ at ] ellak [ dot ] gr>.