Project

General

Profile

FileManager » History » Version 3

Greg Burri, 05/28/2010 02:49 AM

1 1 Greg Burri
h1. FileManager
2
3
h2. Algorithms
4
5
* [[Algorithms#Searching]]
6
7 2 Greg Burri
h2. Sharing
8
9 1 Greg Burri
There is two type of shared directory :
10
11
# Readonly : The content will only be uploaded.
12
# Read and write : New downloaded file goes here.
13
14
* Two same directories cannot be shared.
15
* A shared directory can be a subdirectory of an existing share
16
* A shared directory can contains an existing share
17
18
Symlinks : pay attention ...
19 3 Greg Burri
20
21
h3. Starting process
22
23
The process begin in @FileManager::FileManager@.
24
25
# Load the cache (proto buff) -> *c*.
26
# Give *c* to the cache.
27
# The cache create shared directories (@SharedDirectory@) -> *S*, sub directories (@Directory@) and files (@File@) according *s*.
28
# For each *s* in *S*
29
##