Package saga :: Package filesystem :: Module _filesystem :: Class directory
[frames] | no frames]

Class directory

          object --+                
                   |                
         ??.instance --+            
                       |            
          _engine.object --+        
                           |        
name_space._name_space.entry --+    
                               |    
name_space._name_space.directory --+
                                   |
                                  directory
Known Subclasses:

Nested Classes
    Inherited from _engine.object
  object_type
Instance Methods
 
__init__(...)
__init__( (object)arg1, (url)arg2) -> None :
 
get_size(...)
get_size( (directory)arg1, (url)arg2) -> long : returns the size of this directory (plain)
 
is_file(...)
is_file( (directory)arg1, (url)arg2) -> bool : returns, whether the given item refers to a file (plain)
 
open(...)
open( (directory)arg1, (url)arg2 [, (int)arg3]) -> file : opens the given file in this directory (plain)
 
open_dir(...)
open_dir( (directory)arg1, (url)arg2 [, (int)arg3]) -> directory : opens the given directory in this directory (plain)

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

    Inherited from name_space._name_space.directory
 
change_dir(...)
change_dir( (directory)arg1, (str)arg2) -> None : changes the current directory (plain)
 
copy(...)
copy( (directory)arg1, (url)arg2, (url)arg3 [, (int)arg4]) -> None : copies the the given item to the given name (plain)
 
exists(...)
exists( (directory)arg1, (url)arg2) -> bool : returns, whether the given item exists (plain)
 
find(...)
find( (directory)arg1, (str)arg2 [, (int)arg3]) -> object : finds entries matching a given pattern (contained in the tree below this directory) (plain)
 
get_entry(...)
get_entry( (directory)arg1, (int)arg2) -> url : returns a specific item based on the given index (plain)
 
get_num_entries(...)
get_num_entries( (directory)arg1) -> int : returns the number of entries in this directory (plain)
 
is_dir(...)
is_dir( (directory)arg1, (url)arg2) -> bool : returns, whether the given item refers to a directory (plain)
 
is_entry(...)
is_entry( (directory)arg1, (url)arg2) -> bool : returns, whether the given item refers to a simple entry (plain)
 
is_link(...)
is_link( (directory)arg1, (url)arg2) -> bool : returns, whether the given item is a link to another entry (plain)
 
link(...)
link( (directory)arg1, (url)arg2, (url)arg3 [, (int)arg4]) -> None : links the the given item to the given item (plain)
 
list(...)
list( (directory)arg1 [, (str)arg2 [, (int)arg3]]) -> object : lists entries matching a given pattern (contained in this directory) (plain)
 
make_dir(...)
make_dir( (directory)arg1, (url)arg2 [, (int)arg3]) -> None : creates a new directory (without opening it) (plain)
 
move(...)
move( (directory)arg1, (url)arg2, (url)arg3 [, (int)arg4]) -> None : moves the the given item to the given name (plain)
 
permissions_allow(...)
permissions_allow( (directory)arg1, (str)arg2, (str)arg3, (int)arg4 [, (int)arg5]) -> None : enable a permission based on wildcard specification (plain)
 
permissions_deny(...)
permissions_deny( (directory)arg1, (str)arg2, (str)arg3, (int)arg4 [, (int)arg5]) -> None : disable a permission based on wildcard specification (plain)
 
read_link(...)
read_link( (directory)arg1, (url)arg2) -> url : returns the name of the items the given entry is linked to (plain)
 
remove(...)
remove( (directory)arg1, (url)arg2 [, (int)arg3]) -> None : removes the given item (plain)
    Inherited from name_space._name_space.entry
 
close(...)
close( (entry)arg1) -> None : closes this entry (plain)
 
get_cwd(...)
get_cwd( (entry)arg1) -> url : returns the directory name this item is located in (plain)
 
get_group(...)
get_group( (entry)arg1) -> str : returns the group of the owner of this object instance (plain)
 
get_name(...)
get_name( (entry)arg1) -> url : returns the name of this item (plain)
 
get_owner(...)
get_owner( (entry)arg1) -> str : returns the owner of this object instance (plain)
 
get_url(...)
get_url( (entry)arg1) -> url : returns the full url of this item (plain)
 
permissions_check(...)
permissions_check( (entry)arg1, (str)arg2, (int)arg3) -> bool : generically check a permission on this namespace entry (plain)
    Inherited from _engine.object
 
__reduce__(...)
helper for pickle
 
clone(...)
clone( (object)arg1) -> object : create a deep copy of the object
 
get_id(...)
get_id( (object)arg1) -> uuid : returns the id of this instance
 
get_object_type_name(...)
get_object_type_name( (object_type)arg1) -> str : return the name of a given object type
 
get_session(...)
get_session( (object)arg1) -> session : return the session associated with this object instance
 
get_type(...)
get_type( (object)arg1) -> object_type : returns the type of this instance
Class Variables
    Inherited from _engine.object
  Advert = saga._engine.object_type.Advert
  AdvertDirectory = saga._engine.object_type.AdvertDirectory
  Buffer = saga._engine.object_type.Buffer
  CPRCheckpoint = saga._engine.object_type.CPRCheckpoint
  CPRDirectory = saga._engine.object_type.CPRDirectory
  CPRJob = saga._engine.object_type.CPRJob
  CPRJobDescription = saga._engine.object_type.CPRJobDescription
  CPRJobSelf = saga._engine.object_type.CPRJobSelf
  CPRJobService = saga._engine.object_type.CPRJobService
  Context = saga._engine.object_type.Context
  Directory = saga._engine.object_type.Directory
  Endpoint = saga._engine.object_type.Endpoint
  EntityData = saga._engine.object_type.EntityData
  EntityDataSet = saga._engine.object_type.EntityDataSet
  EntityNavigator = saga._engine.object_type.EntityNavigator
  Exception = saga._engine.object_type.Exception
  File = saga._engine.object_type.File
  IOVec = saga._engine.object_type.IOVec
  Job = saga._engine.object_type.Job
  JobDescription = saga._engine.object_type.JobDescription
  JobSelf = saga._engine.object_type.JobSelf
  JobService = saga._engine.object_type.JobService
  LogicalDirectory = saga._engine.object_type.LogicalDirectory
  LogicalFile = saga._engine.object_type.LogicalFile
  Metric = saga._engine.object_type.Metric
  Msg = saga._engine.object_type.Msg
  NSDirectory = saga._engine.object_type.NSDirectory
  NSEntry = saga._engine.object_type.NSEntry
  Parameter = saga._engine.object_type.Parameter
  RPC = saga._engine.object_type.RPC
  ServiceData = saga._engine.object_type.ServiceData
  ServiceDescription = saga._engine.object_type.ServiceDescription
  ServiceDiscoverer = saga._engine.object_type.ServiceDiscoverer
  Session = saga._engine.object_type.Session
  Stream = saga._engine.object_type.Stream
  StreamServer = saga._engine.object_type.StreamServer
  Task = saga._engine.object_type.Task
  TaskContainer = saga._engine.object_type.TaskContainer
  URL = saga._engine.object_type.URL
  __instance_size__ = 32
Properties

Inherited from object: __class__

    Inherited from _engine.object
  id
returns the id of this instance
  session
return the session associated with this object instance
  type
returns the type of this instance
Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1, (url)arg2) -> None :

    C++ signature :
        void __init__(_object*,saga::url)

__init__( (object)arg1, (str)arg2) -> None :

    C++ signature :
        void __init__(_object*,std::string)

__init__( (object)arg1, (url)arg2, (int)arg3) -> None :

    C++ signature :
        void __init__(_object*,saga::url,int)

__init__( (object)arg1, (str)arg2, (int)arg3) -> None :

    C++ signature :
        void __init__(_object*,std::string,int)

__init__( (object)arg1, (session)arg2, (url)arg3) -> None :

    C++ signature :
        void __init__(_object*,saga::session,saga::url)

__init__( (object)arg1, (session)arg2, (str)arg3) -> None :

    C++ signature :
        void __init__(_object*,saga::session,std::string)

__init__( (object)arg1, (session)arg2, (url)arg3, (int)arg4) -> None :

    C++ signature :
        void __init__(_object*,saga::session,saga::url,int)

__init__( (object)arg1, (session)arg2, (str)arg3, (int)arg4) -> None :

    C++ signature :
        void __init__(_object*,saga::session,std::string,int)

Overrides: object.__init__

get_size(...)

 

get_size( (directory)arg1, (url)arg2) -> long :
    returns the size of this directory (plain)

    C++ signature :
        long long get_size(saga::filesystem::directory,saga::url)

get_size( (directory)arg1, (routine_type)arg2, (url)arg3) -> task :
    returns the size of this directory (task based)

    C++ signature :
        saga::task get_size(saga::filesystem::directory,saga::python::routine_type,saga::url)

get_size( (directory)arg1, (str)arg2) -> long :
    returns the size of this directory (plain)

    C++ signature :
        long long get_size(saga::filesystem::directory,std::string)

get_size( (directory)arg1, (routine_type)arg2, (str)arg3) -> task :
    returns the size of this directory (task based)

    C++ signature :
        saga::task get_size(saga::filesystem::directory,saga::python::routine_type,std::string)

is_file(...)

 

is_file( (directory)arg1, (url)arg2) -> bool :
    returns, whether the given item refers to a file (plain)

    C++ signature :
        bool is_file(saga::filesystem::directory,saga::url)

is_file( (directory)arg1, (routine_type)arg2, (url)arg3) -> task :
    returns, whether the given item refers to a file (task based)

    C++ signature :
        saga::task is_file(saga::filesystem::directory,saga::python::routine_type,saga::url)

is_file( (directory)arg1, (str)arg2) -> bool :
    returns, whether the given item refers to a file (plain)

    C++ signature :
        bool is_file(saga::filesystem::directory,std::string)

is_file( (directory)arg1, (routine_type)arg2, (str)arg3) -> task :
    returns, whether the given item refers to a file (task based)

    C++ signature :
        saga::task is_file(saga::filesystem::directory,saga::python::routine_type,std::string)

open(...)

 

open( (directory)arg1, (url)arg2 [, (int)arg3]) -> file :
    opens the given file in this directory (plain)

    C++ signature :
        saga::filesystem::file open(saga::filesystem::directory,saga::url [,int])

open( (directory)arg1, (routine_type)arg2, (url)arg3 [, (int)arg4]) -> task :
    opens the given file in this directory (task based)

    C++ signature :
        saga::task open(saga::filesystem::directory,saga::python::routine_type,saga::url [,int])

open( (directory)arg1, (str)arg2 [, (int)arg3]) -> file :
    opens the given file in this directory (plain)

    C++ signature :
        saga::filesystem::file open(saga::filesystem::directory,std::string [,int])

open( (directory)arg1, (routine_type)arg2, (str)arg3 [, (int)arg4]) -> task :
    opens the given file in this directory (task based)

    C++ signature :
        saga::task open(saga::filesystem::directory,saga::python::routine_type,std::string [,int])

Overrides: name_space._name_space.directory.open

open_dir(...)

 

open_dir( (directory)arg1, (url)arg2 [, (int)arg3]) -> directory :
    opens the given directory in this directory (plain)

    C++ signature :
        saga::filesystem::directory open_dir(saga::filesystem::directory,saga::url [,int])

open_dir( (directory)arg1, (routine_type)arg2, (url)arg3 [, (int)arg4]) -> task :
    opens the given directory in this directory (task based)

    C++ signature :
        saga::task open_dir(saga::filesystem::directory,saga::python::routine_type,saga::url [,int])

open_dir( (directory)arg1, (str)arg2 [, (int)arg3]) -> directory :
    opens the given directory in this directory (plain)

    C++ signature :
        saga::filesystem::directory open_dir(saga::filesystem::directory,std::string [,int])

open_dir( (directory)arg1, (routine_type)arg2, (str)arg3 [, (int)arg4]) -> task :
    opens the given directory in this directory (task based)

    C++ signature :
        saga::task open_dir(saga::filesystem::directory,saga::python::routine_type,std::string [,int])

Overrides: name_space._name_space.directory.open_dir