mirror of
https://github.com/mistergibson/gxg-server.git
synced 2026-08-15 02:15:59 -07:00
Testing 5
This commit is contained in:
parent
404c356113
commit
be8aca4ec7
1 changed files with 4 additions and 4 deletions
|
|
@ -871,7 +871,7 @@ module GxG
|
||||||
end
|
end
|
||||||
#
|
#
|
||||||
def rename(the_path="", credential=:"00000000-0000-4000-0000-000000000000", new_name="")
|
def rename(the_path="", credential=:"00000000-0000-4000-0000-000000000000", new_name="")
|
||||||
result = {:result => false}
|
result = nil
|
||||||
if self.busy?(the_path)
|
if self.busy?(the_path)
|
||||||
result = {:result => false, :error => "Busy", :error_code => :busy}
|
result = {:result => false, :error => "Busy", :error_code => :busy}
|
||||||
end
|
end
|
||||||
|
|
@ -887,7 +887,7 @@ module GxG
|
||||||
end
|
end
|
||||||
#
|
#
|
||||||
def copy(the_path="", credential=:"00000000-0000-4000-0000-000000000000", new_path="")
|
def copy(the_path="", credential=:"00000000-0000-4000-0000-000000000000", new_path="")
|
||||||
result = {:result => false}
|
result = nil
|
||||||
if self.busy?(the_path)
|
if self.busy?(the_path)
|
||||||
result = {:result => false, :error => "Busy", :error_code => :busy}
|
result = {:result => false, :error => "Busy", :error_code => :busy}
|
||||||
end
|
end
|
||||||
|
|
@ -903,7 +903,7 @@ module GxG
|
||||||
end
|
end
|
||||||
#
|
#
|
||||||
def move(the_path="", credential=:"00000000-0000-4000-0000-000000000000", new_path="")
|
def move(the_path="", credential=:"00000000-0000-4000-0000-000000000000", new_path="")
|
||||||
result = {:result => false}
|
result = nil
|
||||||
if self.busy?(the_path)
|
if self.busy?(the_path)
|
||||||
result = {:result => false, :error => "Busy", :error_code => :busy}
|
result = {:result => false, :error => "Busy", :error_code => :busy}
|
||||||
end
|
end
|
||||||
|
|
@ -919,7 +919,7 @@ module GxG
|
||||||
end
|
end
|
||||||
#
|
#
|
||||||
def destroy(the_path="", credential=:"00000000-0000-4000-0000-000000000000")
|
def destroy(the_path="", credential=:"00000000-0000-4000-0000-000000000000")
|
||||||
result = {:result => false}
|
result = nil
|
||||||
if self.busy?(the_path)
|
if self.busy?(the_path)
|
||||||
result = {:result => false, :error => "Busy", :error_code => :busy}
|
result = {:result => false, :error => "Busy", :error_code => :busy}
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue