MCPcopy Create free account

hub / github.com/spf13/afero / functions

Functions803 in github.com/spf13/afero

↓ 2 callersMethodgetDirEntries
()
zipfs/file.go:114
↓ 2 callersFunctionglob
glob searches for files matching pattern in the directory dir and appends them to matches. If the directory cannot be opened, it returns the existing
match.go:75
↓ 2 callersFunctionhasMeta
hasMeta reports whether path contains any of the magic characters recognized by Match.
match.go:107
↓ 2 callersFunctionnextRandom
()
ioutil.go:153
↓ 2 callersMethodopen
(name string)
memmap.go:220
↓ 2 callersFunctionreadAll
readAll reads from r until an error or EOF and returns the data it read from the internal buffer allocated with a specified capacity.
ioutil.go:91
↓ 2 callersFunctionreadDirNames
readDirNames reads the directory named by dirname and returns a sorted list of directory entries. adapted from https://golang.org/src/path/filepath/pa
path.go:27
↓ 2 callersFunctionsetupGlobDirRoot
(t *testing.T, fs Fs)
match_test.go:34
↓ 2 callersFunctionsetupGlobFiles
(t *testing.T, fs Fs, path string)
match_test.go:45
↓ 1 callersFunctionAddToMemDir
(dir *FileData, f *FileData)
mem/dir.go:28
↓ 1 callersMethodBuckets
(ctx context.Context, projectID string)
gcsfs/internal/stiface/interfaces.go:27
↓ 1 callersMethodChmod
(name string, mode os.FileMode)
iofs.go:204
↓ 1 callersMethodChown
(name string, uid, gid int)
memmap.go:425
↓ 1 callersMethodChown
(name string, uid, gid int)
iofs.go:208
↓ 1 callersMethodChtimes
(name string, atime time.Time, mtime time.Time)
memmap.go:441
↓ 1 callersMethodChtimes
(name string, atime time.Time, mtime time.Time)
iofs.go:212
↓ 1 callersMethodClose
()
mem/file.go:129
↓ 1 callersMethodComposerFrom
(...ObjectHandle)
gcsfs/internal/stiface/interfaces.go:46
↓ 1 callersMethodCreate
(n string)
readonlyfs.go:94
↓ 1 callersMethodCreate
(name string)
iofs.go:162
↓ 1 callersMethodCreate
(name string)
os.go:36
↓ 1 callersMethodCreate
(name string)
gcsfs/fs.go:129
↓ 1 callersMethodDefaultObjectACL
()
gcsfs/internal/stiface/interfaces.go:54
↓ 1 callersMethodDisconnect
()
sftpfs/sftp_test.go:90
↓ 1 callersFunctionFileContainsAnyBytes
Check if a file contains any of the specified byte slices.
util.go:188
↓ 1 callersFunctionFileContainsBytes
Check if a file contains a specified byte slice.
util.go:173
↓ 1 callersFunctionFileCreate
(s *sftp.Client, name string)
sftpfs/file.go:35
↓ 1 callersFunctionFileOpen
(s *sftp.Client, name string)
sftpfs/file.go:27
↓ 1 callersMethodFiles
()
mem/dir.go:19
↓ 1 callersFunctionFullBaseFsPath
(basePathFs *BasePathFs, relativePath string)
util.go:322
↓ 1 callersMethodGeneration
(int64)
gcsfs/internal/stiface/interfaces.go:35
↓ 1 callersMethodInfo
()
mem/file.go:323
↓ 1 callersFunctionInitializeDir
(d *FileData)
mem/dir.go:32
↓ 1 callersMethodKey
([]byte)
gcsfs/internal/stiface/interfaces.go:37
↓ 1 callersFunctionMakeSSHKeyPair
MakeSSHKeyPair make a pair of public and private keys for SSH access. Public key is encoded in the format for inclusion in an OpenSSH authorized_keys
sftpfs/sftp_test.go:210
↓ 1 callersMethodMkdir
(name string, _ os.FileMode)
gcsfs/fs.go:160
↓ 1 callersMethodMkdir
(name string, perm os.FileMode)
sftpfs/sftp.go:43
↓ 1 callersMethodMkdirAll
(name string, perm os.FileMode)
copyOnWriteFs.go:318
↓ 1 callersMethodMkdirAll
(path string, perm os.FileMode)
gcsfs/fs.go:185
↓ 1 callersMethodName
()
regexpfs.go:180
↓ 1 callersMethodName
()
mem/file.go:139
↓ 1 callersMethodName
()
zipfs/file.go:107
↓ 1 callersMethodName
()
sftpfs/file.go:47
↓ 1 callersFunctionNew
(client *sftp.Client)
sftpfs/sftp.go:33
↓ 1 callersFunctionNewGcsFSFromClient
NewGcsFSFromClient creates a GCS file system from a given storage client
gcsfs/gcs.go:65
↓ 1 callersFunctionNewGcsFSFromClientWithSeparator
NewGcsFSFromClientWithSeparator is the same as NewGcsFSFromClient, but the file system will use the provided folder separator.
gcsfs/gcs.go:72
↓ 1 callersFunctionNewGcsFileFromOldFH
( openFlags int, fileMode os.FileMode, oldFile *gcsFileResource, )
gcsfs/file.go:75
↓ 1 callersFunctionNewRegexpFs
(source Fs, re *regexp.Regexp)
regexpfs.go:18
↓ 1 callersMethodOpen
(name string)
cacheOnReadFs.go:238
↓ 1 callersMethodOpen
(name string)
basepath.go:150
↓ 1 callersMethodOpen
(name string)
regexpfs.go:124
↓ 1 callersMethodOpen
(name string)
tarfs/fs.go:83
↓ 1 callersMethodOpen
(name string)
zipfs/fs.go:55
↓ 1 callersMethodOpenFile
(name string, flag int, fileMode os.FileMode)
gcsfs/fs.go:228
↓ 1 callersMethodRead
(p []byte)
gcsfs/gcs_mocks.go:206
↓ 1 callersMethodRead
(b []byte)
sftpfs/file.go:63
↓ 1 callersMethodReadAt
(p []byte, off int64)
zipfs/file.go:68
↓ 1 callersMethodReadCompressed
(bool)
gcsfs/internal/stiface/interfaces.go:38
↓ 1 callersMethodReadFile
(name string)
iofs.go:103
↓ 1 callersMethodReaddir
Readdir will weave the two directories together and return a single view of the overlayed directories. At the end of the directory view, the error is
unionFile.go:160
↓ 1 callersMethodReaddir
(c int)
regexpfs.go:184
↓ 1 callersMethodReaddir
(count int)
tarfs/file.go:93
↓ 1 callersMethodReaddir
(count int)
sftpfs/file.go:71
↓ 1 callersMethodRemain
()
gcsfs/internal/stiface/interfaces.go:97
↓ 1 callersMethodRemove
(n string)
readonlyfs.go:71
↓ 1 callersMethodRemove
(name string)
iofs.go:188
↓ 1 callersMethodRemove
(name string)
os.go:74
↓ 1 callersMethodRemove
(*FileData)
mem/dir.go:21
↓ 1 callersFunctionRemoveFromMemDir
(dir *FileData, f *FileData)
mem/dir.go:24
↓ 1 callersMethodRename
(oldname, newname string)
iofs.go:196
↓ 1 callersFunctionRunSftpServer
TODO for such a weird reason rootpath is "." when writing "file1" with afero sftp backend
sftpfs/sftp_test.go:97
↓ 1 callersFunctionSetGID
(f *FileData, gid int)
mem/file.go:110
↓ 1 callersFunctionSetUID
(f *FileData, uid int)
mem/file.go:104
↓ 1 callersFunctionSftpConnect
TODO we only connect with hardcoded user+pass for now it should be possible to use $HOME/.ssh/id_rsa to login into the stub sftp server
sftpfs/sftp_test.go:42
↓ 1 callersMethodStat
(name string)
readonlyfs.go:39
↓ 1 callersMethodStat
(name string)
sftpfs/sftp.go:123
↓ 1 callersMethodTempFile
TempFile creates a new temporary file in the directory dir, opens the file for reading and writing, and returns the resulting *os.File. The filename i
ioutil.go:176
↓ 1 callersFunctionUnicodeSanitize
Rewrite string to remove non-standard path characters
util.go:137
↓ 1 callersMethodUserProject
IAM() *iam.Handle
gcsfs/internal/stiface/interfaces.go:62
↓ 1 callersMethodWrite
(p []byte)
gcsfs/gcs_mocks.go:155
↓ 1 callersMethodWriteAt
(b []byte, off int64)
gcsfs/file.go:155
↓ 1 callersMethodWriteString
(s string)
gcsfs/file.go:307
↓ 1 callersFunctioncheckSizePath
(t *testing.T, path string, size int64)
ioutil_test.go:24
↓ 1 callersFunctioncopyFileToLayer
(base Fs, layer Fs, name string, flag int, perm os.FileMode)
unionFile.go:323
↓ 1 callersMethodcopyFileToLayer
(name string, flag int, perm os.FileMode)
cacheOnReadFs.go:78
↓ 1 callersFunctioncreateTempDirWithNonZeroLengthFiles
()
util_test.go:248
↓ 1 callersFunctioncreateTempDirWithZeroLengthFiles
()
util_test.go:231
↓ 1 callersMethodfindDescendants
(name string)
memmap.go:92
↓ 1 callersMethodgetBucket
(name string)
gcsfs/fs.go:104
↓ 1 callersMethodgetDirectoryNames
()
tarfs/file.go:78
↓ 1 callersMethodlockfreeMkdir
(name string, perm os.FileMode)
memmap.go:135
↓ 1 callersMethodmaybeCloseReader
()
gcsfs/file_resource.go:74
↓ 1 callersMethodmaybeCloseWriter
()
gcsfs/file_resource.go:85
↓ 1 callersFunctionmin
(x, y int)
gcsfs/file_resource.go:226
↓ 1 callersFunctionnewClientMock
()
gcsfs/gcs_mocks.go:37
↓ 1 callersFunctionnewFakeClient
()
gcsfs/internal/stiface/stiface_test.go:110
↓ 1 callersFunctionnewFileInfoFromAttrs
(objAttrs *storage.ObjectAttrs, fileMode os.FileMode)
gcsfs/file_info.go:85
↓ 1 callersMethodopenWrite
(name string)
memmap.go:212
↓ 1 callersFunctionreadObject
(t *testing.T, obj ObjectHandle)
gcsfs/internal/stiface/stiface_test.go:75
↓ 1 callersMethodreaddirImpl
(count int)
gcsfs/file.go:184
← previousnext →201–300 of 803, ranked by callers